Condividi tramite


Vector.AsVector2(Vector4) Metodo

Definizione

Reinterpreta un Vector4 come nuovo Vector2.

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

Parametri

value
Vector4

Vettore da reinterpretare.

Restituisce

value reinterpretato come nuovo Vector2.

Si applica a