An exponential map of this.
An inverse of this.
The length of this.
The squared length of this.
A logarithm map of this.
A logarithm map of this as a Vector3.
Itself but converted into a Matrix4.
A normalized this.
An w component of this.
An x component of this.
An y component of this.
An z component of this.
StaticidentityAn identity Quaternion.
Clone this.
Multiply one or more Quaternions with this.
Other Quaternions
Interpolate between this and given quaternion using normalized lerp. When the dot product of the two quaternions is negative, the given quaternion is negated to ensure the shortest path is taken.
This should behave the same as Unity's Quaternion.LerpUnclamped.
"to" quaternion
How much do we want to rotate this to b
The interpolated quaternion
Interpolate between this and given quaternion using spherical lerp.
Another Quaternion
How much do we want to rotate this to b
The interpolated quaternion
StaticfromStaticfromStaticlookReturn a quaternion which looks at the direction of look.
StaticmultiplyStaticnlerpInterpolate between two quaternions using normalized lerp. When the dot product of the two quaternions is negative, the second quaternion is negated to ensure the shortest path is taken.
This should behave the same as Unity's Quaternion.LerpUnclamped.
"from" quaternion
"to" quaternion
How much do we want to rotate the a to b
The interpolated quaternion
StaticrotationReturn a quaternion which rotates around x axis.
An angle around x axis, in degree
StaticrotationReturn a quaternion which rotates around y axis.
An angle around y axis, in degree
StaticrotationReturn a quaternion which rotates around z axis.
An angle around z axis, in degree
StaticslerpInterpolate between two quaternions using spherical lerp.
"from" quaternion
"to" quaternion
How much do we want to rotate the a to b
The interpolated quaternion
A Quaternion.