Class RightHandToLeftHandConverter
Represents methods to convert from a right-hand to a left-hand coordinate system.
Inherited Members
Namespace: TriLibExporter
Assembly: Assembly-CSharp.dll
Syntax
public static class RightHandToLeftHandConverter
Methods
ConvertMatrix(Matrix4x4)
Converts a UnityEngine.Matrix4x4 to the left-hand coordinate system.
Declaration
public static Matrix4x4 ConvertMatrix(Matrix4x4 value)
Parameters
Type | Name | Description |
---|---|---|
Matrix4x4 | value | The UnityEngine.Matrix4x4 to be converted. |
Returns
Type | Description |
---|---|
Matrix4x4 | The converted matrix. |
ConvertMatrix2(Matrix4x4)
Converts a UnityEngine.Matrix4x4 to the left-hand coordinate system using an alternative approach.
Declaration
public static Matrix4x4 ConvertMatrix2(Matrix4x4 value)
Parameters
Type | Name | Description |
---|---|---|
Matrix4x4 | value | The UnityEngine.Matrix4x4 to be converted. |
Returns
Type | Description |
---|---|
Matrix4x4 | The converted matrix. |
ConvertRotation(Quaternion)
Converts a UnityEngine.Quaternion to the left-hand coordinate system.
Declaration
public static Quaternion ConvertRotation(Quaternion value)
Parameters
Type | Name | Description |
---|---|---|
Quaternion | value | The UnityEngine.Quaternion to be converted. |
Returns
Type | Description |
---|---|
Quaternion | The converted quaternion. |
ConvertRotation(Vector3)
Converts a rotation represented as a UnityEngine.Vector3 to the left-hand coordinate system.
Declaration
public static Vector3 ConvertRotation(Vector3 value)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | value | The rotation vector to be converted. |
Returns
Type | Description |
---|---|
Vector3 | The converted vector. |
ConvertRotation(Vector4)
Converts a rotation represented as a UnityEngine.Vector4 to the left-hand coordinate system.
Declaration
public static Vector4 ConvertRotation(Vector4 value)
Parameters
Type | Name | Description |
---|---|---|
Vector4 | value | The rotation vector to be converted. |
Returns
Type | Description |
---|---|
Vector4 | The converted vector. |
ConvertVector(Vector3)
Converts a UnityEngine.Vector3 to the left-hand coordinate system.
Declaration
public static Vector3 ConvertVector(Vector3 value)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | value | The UnityEngine.Vector3 to be converted. |
Returns
Type | Description |
---|---|
Vector3 | The converted vector. |