Class SystemNumericsExtensions
Inheritance
SystemNumericsExtensions
Assembly: cs.temp.dll.dll
public static class SystemNumericsExtensions
Methods
Converts this System.Numerics Quaternion to a UnityEngine Quaternion, storing values directly in referenced parameter
Declaration
public static void ConvertToUnityQuaternion(this Quaternion source, ref UnityEngine.Quaternion target)
Parameters
Type |
Name |
Description |
Quaternion |
source |
|
UnityEngine.Quaternion |
target |
|
Converts this System.Numerics Vector3 to a UnityEngine Vector3 format, storing values directly in referenced parameter
Declaration
public static void ConvertToUnityVector3(this Vector3 source, ref UnityEngine.Vector3 target)
Parameters
Type |
Name |
Description |
Vector3 |
source |
|
UnityEngine.Vector3 |
target |
|
Declaration
public static Matrix4x4 ToSystemNumerics(this UnityEngine.Matrix4x4 m)
Parameters
Type |
Name |
Description |
UnityEngine.Matrix4x4 |
m |
|
Returns
Declaration
public static UnityEngine.Matrix4x4 ToUnity(this Matrix4x4 m)
Parameters
Returns
Type |
Description |
UnityEngine.Matrix4x4 |
|
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.
|
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.
|