Redigeeri

Jagamisviis:


Vector.AsVector3(Vector4) Method

Definition

Reinterprets a Vector4 as a new Vector3.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Numerics::Vector3 AsVector3(System::Numerics::Vector4 value);
public static System.Numerics.Vector3 AsVector3 (this System.Numerics.Vector4 value);
static member AsVector3 : System.Numerics.Vector4 -> System.Numerics.Vector3
<Extension()>
Public Function AsVector3 (value As Vector4) As Vector3

Parameters

value
Vector4

The vector to reinterpret.

Returns

value reinterpreted as a new Vector3.

Applies to