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.
Adds the XYZ components of another vector 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.
This instance.
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.
Clamps the components of the vector at the given boundary.
The lowest value to allow.
The largest value to allow.
This instance.
Divides the XYZ components of the vector by the given scale.
The scaling to apply to the vector.
This instance.
Divides the XYZ components of this vector by another vector.
The value to divide the X component with.
The value to divide the Y component with.
The value to divide the Z component with.
This instance.
Invert the quaternion.
This instance.
Inverts the direction of the vector.
This instance.
Inverts the vectors scale.
This instance.
Multiplies the XYZ components of the vector by the given scale.
The scaling to apply to the 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.
Normalize the quaternion.
This instance.
Sets the quaternion to the values of another quaternion.
The quaternion to copy.
This instance.
Sets all components of the quaternion to the given value.
The value to assign to the components of the quaternion.
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
fromStatic
fromStatic
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
from
A quaternion.