Optional
x: numberOptional
y: numberOptional
z: numberReadonly
isComputes the Manhattan length (distance) from this vector to the given vector v
see Taxicab Geometry
Computes the Manhattan length of this vector.
see Taxicab Geometry
Sets this vector's x, y and z components from the x, y, and z components of the specified Euler Angle.
Returns an array [x, y, z], or copies x, y and z into the provided array.
Optional
array: number[](optional) array to store the vector to. If this is not provided, a new array will be created.
Optional
offset: number(optional) optional offset into the array.
The created or provided array.
Optional
array: Vector3TupleOptional
offset: 0Copies x, y and z into the provided array-like.
array-like to store the vector to.
Optional
offset: number(optional) optional offset into the array-like.
The provided array-like.
Convert sensor value to tuple
Optional
unit: UnitConversion unit
Tuple of three numbers
Static
fromStatic
from
Iterating through a Vector3 instance will yield its components (x, y, z) in the corresponding order.