SystemNumericsExtensions.ToUnityVector3(Vector3) 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 Vector3 to a UnityEngine Vector3.
public:
[System::Runtime::CompilerServices::Extension]
static UnityEngine::Vector3 ToUnityVector3(System::Numerics::Vector3 vector);
public static UnityEngine.Vector3 ToUnityVector3 (this System.Numerics.Vector3 vector);
static member ToUnityVector3 : System.Numerics.Vector3 -> UnityEngine.Vector3
<Extension()>
Public Function ToUnityVector3 (vector As Vector3) As Vector3
Parameters
- vector
- Vector3
The vector to convert.
Returns
UnityEngine.Vector3
The converted vector.