Vector128.AsVector128Unsafe Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
AsVector128Unsafe(Vector2) |
Reinterprets a |
AsVector128Unsafe(Vector3) |
Reinterprets a |
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
.NET 9
Product | Versions |
---|---|
.NET | 9 |
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
.NET 9
Product | Versions |
---|---|
.NET | 9 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: