Class SystemNumericsExtensions
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit
Assembly: cs.temp.dll.dll
Syntax
public static class SystemNumericsExtensions
Methods
ToUnityQuaternion(Quaternion)
Converts this System.Numerics Quaternion to a UnityEngine Quaternion.
Declaration
public static UnityEngine.Quaternion ToUnityQuaternion(this Quaternion quaternion)
Parameters
Type | Name | Description |
---|---|---|
Quaternion | quaternion | The quaternion to convert. |
Returns
Type | Description |
---|---|
UnityEngine.Quaternion | The converted quaternion. |
ToUnityVector3(Vector3)
Converts this System.Numerics Vector3 to a UnityEngine Vector3.
Declaration
public static UnityEngine.Vector3 ToUnityVector3(this Vector3 vector)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | vector | The vector to convert. |
Returns
Type | Description |
---|---|
UnityEngine.Vector3 | The converted vector. |