แก้ไข

แชร์ผ่าน


Vector128.AsVector128Unsafe Method

Definition

Overloads

AsVector128Unsafe(Vector2)

Reinterprets a Vector2 as a new Vector128<T>, leaving the new elements undefined.

AsVector128Unsafe(Vector3)

Reinterprets a Vector3 as a new Vector128<T>, leaving the new elements undefined.

AsVector128Unsafe(Vector2)

Reinterprets a Vector2 as a new Vector128<T>, leaving the new elements undefined.

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

Parameters

value
Vector2

The vector to reinterpret.

Returns

value reinterpreted as a new Vector128<Single>.

Applies to

AsVector128Unsafe(Vector3)

Reinterprets a Vector3 as a new Vector128<T>, leaving the new elements undefined.

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

Parameters

value
Vector3

The vector to reinterpret.

Returns

value reinterpreted as a new Vector128<Single>.

Applies to