Breyta

Deila með


Vector.AsVector2(Vector4) Method

Definition

Reinterprets a Vector4 as a new 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

Parameters

value
Vector4

The vector to reinterpret.

Returns

value reinterpreted as a new Vector2.

Applies to