編輯

共用方式為


SystemNumericsExtensions.ToUnityVector3(Vector3) Method

Definition

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.

Applies to