Vector.set(v, [y], [z])
Sets the x, y, and z component of the vector using three separate variables, the data from a Vector, or the values from a float array.
Type: function
Parameter(s):
- v {Number | Array | Vector}:
Either a vector, array or
xcomponent. - y {Number} Optional:
The
ycomponent. - z {Number} Optional:
The
zcomponent.