QuaternionExtensions Class |
Namespace: ImmerseSDK.Extensions
public static class QuaternionExtensions
The QuaternionExtensions type exposes the following members.
Name | Description | |
---|---|---|
Approximately |
Returns True if they are approximately the same, otherwise false
| |
Compare |
Returns True if they are the same, otherwise false
| |
FromWebToUnity |
Transforms a rotation from right-handed z-toward (WebGL) to left-handed z-away (Unity) coordinate system.
| |
MaskYRotation |
Only keep the Y rotation for the quaternion. Remove X and Z.
| |
SignedAngle |
Calculate the signed angle between two rotations
|