Edit

Share via


SystemNumericsExtensions.ToUnityQuaternion(Quaternion) Method

Definition

Converts this System.Numerics Quaternion to a UnityEngine Quaternion.

public:
[System::Runtime::CompilerServices::Extension]
 static UnityEngine::Quaternion ToUnityQuaternion(System::Numerics::Quaternion quaternion);
public static UnityEngine.Quaternion ToUnityQuaternion (this System.Numerics.Quaternion quaternion);
static member ToUnityQuaternion : System.Numerics.Quaternion -> UnityEngine.Quaternion
<Extension()>
Public Function ToUnityQuaternion (quaternion As Quaternion) As Quaternion

Parameters

quaternion
Quaternion

The quaternion to convert.

Returns

UnityEngine.Quaternion

The converted quaternion.

Applies to