Sdílet prostřednictvím


Vector128.AsVector128 Metoda

Definice

Přetížení

AsVector128(Vector2)

Znovu interpretuje Vector2 jako nový Vector128<T>.

AsVector128(Vector3)

Znovu interpretuje Vector3 jako nový Vector128<T>.

AsVector128(Vector4)

Znovu interpretuje Vector4 jako nový Vector128<T>.

AsVector128<T>(Vector<T>)

Znovu interpretuje Vector<T> jako nový Vector128<T>.

AsVector128(Vector2)

Zdroj:
Vector128.cs
Zdroj:
Vector128.cs
Zdroj:
Vector128.cs

Znovu interpretuje Vector2 jako nový Vector128<T>.

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

Parametry

value
Vector2

Vektor, který se má reinterpretovat.

Návraty

value reinterpreted as a new Vector128<T>.

Platí pro

AsVector128(Vector3)

Zdroj:
Vector128.cs
Zdroj:
Vector128.cs
Zdroj:
Vector128.cs

Znovu interpretuje Vector3 jako nový Vector128<T>.

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

Parametry

value
Vector3

Vektor, který se má reinterpretovat.

Návraty

value reinterpreted as a new Vector128<T>.

Platí pro

AsVector128(Vector4)

Zdroj:
Vector128.cs
Zdroj:
Vector128.cs
Zdroj:
Vector128.cs

Znovu interpretuje Vector4 jako nový Vector128<T>.

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

Parametry

value
Vector4

Vektor, který se má reinterpretovat.

Návraty

value reinterpreted as a new Vector128<T>.

Platí pro

AsVector128<T>(Vector<T>)

Zdroj:
Vector128.cs
Zdroj:
Vector128.cs
Zdroj:
Vector128.cs

Znovu interpretuje Vector<T> jako nový Vector128<T>.

public:
generic <typename T>
 where T : value class[System::Runtime::CompilerServices::Extension]
 static System::Runtime::Intrinsics::Vector128<T> AsVector128(System::Numerics::Vector<T> value);
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static System::Runtime::Intrinsics::Vector128<T> AsVector128(System::Numerics::Vector<T> value);
public static System.Runtime.Intrinsics.Vector128<T> AsVector128<T> (this System.Numerics.Vector<T> value) where T : struct;
public static System.Runtime.Intrinsics.Vector128<T> AsVector128<T> (this System.Numerics.Vector<T> value);
static member AsVector128 : System.Numerics.Vector<'T (requires 'T : struct)> -> System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> (requires 'T : struct)
static member AsVector128 : System.Numerics.Vector<'T> -> System.Runtime.Intrinsics.Vector128<'T>
<Extension()>
Public Function AsVector128(Of T As Structure) (value As Vector(Of T)) As Vector128(Of T)
<Extension()>
Public Function AsVector128(Of T) (value As Vector(Of T)) As Vector128(Of T)

Parametry typu

T

Typ vektorů.

Parametry

value
Vector<T>

Vektor, který se má reinterpretovat.

Návraty

value reinterpreted as a new Vector128<T>.

Výjimky

Typ value (T) není podporován.

Platí pro