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.

C#
public static System.Runtime.Intrinsics.Vector128<float> AsVector128Unsafe(this System.Numerics.Vector2 value);

Parameters

value
Vector2

The vector to reinterpret.

Returns

value reinterpreted as a new Vector128<Single>.

Applies to

.NET 9
Product Versions
.NET 9

AsVector128Unsafe(Vector3)

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

C#
public static System.Runtime.Intrinsics.Vector128<float> AsVector128Unsafe(this System.Numerics.Vector3 value);

Parameters

value
Vector3

The vector to reinterpret.

Returns

value reinterpreted as a new Vector128<Single>.

Applies to

.NET 9
Product Versions
.NET 9