Class QuaternionExtensions
Extension methods for Quaternion structs.
Inherited Members
Namespace: Unity.XR.CoreUtils
Assembly: solution.dll
Syntax
public static class QuaternionExtensions
Methods
| Name | Description |
|---|---|
| ConstrainYaw(Quaternion) | Returns a rotation that only contains the yaw component of the specified rotation. The resulting rotation is not normalized. |
| ConstrainYawNormalized(Quaternion) | Returns a normalized rotation that only contains the yaw component of the specified rotation. |
| ConstrainYawPitchNormalized(Quaternion) | Returns a normalized rotation that only contains the yaw and pitch components of the specified rotation |