Constructs a new Quaternion
.
The X component.
The Y component.
The Z component.
The W component.
Get the W component of the vector.
The W component of the vector.
Set the W component of the vector.
Get the X component of the vector.
The X component of the vector.
Set the X component of the vector.
Get the Y component of the vector.
The Y component of the vector.
Set the Y component of the vector.
Get the Z component of the vector.
The Z component of the vector.
Set the Z component of the vector.
Scales another vector and adds its XYZ components to this vector.
The value to add to the X component.
The value to add to the Y component.
The value to add to the Z component.
The scaling to apply to the input vector.
This instance.
Multiplies the XYZ components of this vector by another vector.
The value to multiply with the X component.
The value to multiply with the Y component.
The value to multiply with the Z component.
This instance.
Multiply with another quaternion from the right.
The quaternion to multiply with.
This instance.
Sets the quaternion to the values of another quaternion.
The quaternion to copy.
This instance.
Sets the components of the quaternion to the given values.
The X component for the quaternion.
The Y component for the quaternion.
The Z component for the quaternion.
The W component for the quaternion.
This instance.
Performs spherical linear interpolation between two rotations, and sets this quaternion to the resulting rotation.
The initial rotation.
The target rotation.
The location on the scale from 0
to 1
.
This instance.
Subtracts the XYZ components of another vector from this vector.
The value to subtract from the X component.
The value to subtract from the Y component.
The value to subtract from the Z component.
This instance.
Static
fromCreates a new Quaternion
from a rotation in Euler angles.
A new quaternion.
Static
fromCreates a new Quaternion
from a rotation matrix.
A new quaternion.
Static
fromCreates a new Quaternion
from another Quaternion
.
The quaternion to copy.
A new quaternion.
Static
fromCreates a new Quaternion
from a rotation around an axis.
A new quaternion.
Static
fromCreates a new Quaternion
from a Vector4
.
A new quaternion.
A quaternion.