Optionalx: numberThe x component.
Optionaly: numberThe y component.
Optionalz: numberThe z component.
Optionalw: numberThe w component.
The w component of this Vector.
The x component of this Vector.
The y component of this Vector.
The z component of this Vector.
Make a clone of this Vector4.
Calculate the dot product of this Vector and the given Vector.
The Vector4 to dot product with this Vector4.
Check whether this Vector is equal to a given Vector.
Performs a strict quality check against each Vector's components.
The vector to check equality with.
Calculate the length (or magnitude) of this Vector.
Calculate the length of this Vector squared.
Negate the x, y, z and w components of this Vector.
Normalize this Vector.
Makes the vector a unit length vector (magnitude of 1) in the same direction.
Make this Vector the zero vector (0, 0, 0, 0).
Scale this Vector by the given value.
The value to scale this Vector by.
Set the x, y, z and w components of the this Vector to the given x, y, z and w values.
The x value to set for this Vector, or an object containing x, y, z and w components.
The y value to set for this Vector.
The z value to set for this Vector.
The z value to set for this Vector.
Transform this Vector with the given Quaternion.
The Quaternion to transform this Vector with.
A representation of a vector in 4D space.
A four-component vector.