Readonly
is0
0
0
Adds v to this vector.
Copies value of v to this vector.
Sets this vector to cross product of itself and v.
Computes distance of this vector to v.
Use .manhattanDistanceTo() instead.
Computes squared distance of this vector to v.
Computes dot product of this vector and v.
Checks for strict equality of this vector and v.
Computes Manhattan length of this vector. http://en.wikipedia.org/wiki/Taxicab_geometry
Use .manhattanLength() instead.
lerp(v:T, alpha:number):T;
Computes 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.
Subtracts v from this vector.
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.
3D vector. ( class Vector3 implements Vector )
see https://github.com/mrdoob/three.js/blob/master/src/math/Vector3.js
Example