Set the x
, y
, and z
components of this Vector to the given x
, y
, and z
values.
name | type | arguments | description |
---|---|---|---|
x | number | object |
The x value to set for this Vector, or an object containing x, y and z components. |
|
y | number | <optional> |
The y value to set for this Vector. |
z | number | <optional> |
The z value to set for this Vector. |
This Vector3.