vector3.of
The vector in space with the given components.
Usage
Vector3.of(x: number, y: number, z: number): Vector3Parameters
xnumberThe x coordinate. Required. In model.
ynumberThe y coordinate. Required. In model.
znumberThe z coordinate. Required. In model.
Returns
A new { x, y, z }; components are stored as given.
Example
Vector3.of(0, 0, 1) // → { x: 0, y: 0, z: 1 }