SystemNumericsExtensions.ToUnityQuaternion(Quaternion) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.