Vector128.AsVector2(Vector128<Single>) Method

Definition

Reinterprets a Vector128<T> as a new Vector2.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Numerics::Vector2 AsVector2(System::Runtime::Intrinsics::Vector128<float> value);
public static System.Numerics.Vector2 AsVector2 (this System.Runtime.Intrinsics.Vector128<float> value);
static member AsVector2 : System.Runtime.Intrinsics.Vector128<single> -> System.Numerics.Vector2
<Extension()>
Public Function AsVector2 (value As Vector128(Of Single)) As Vector2

Parameters

value
Vector128<Single>

The vector to reinterpret.

Returns

value reinterpreted as a new Vector2.

Applies to