Vector128.AsVector2(Vector128<Single>) Method
Definition
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.
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
Returns
value
reinterpreted as a new Vector2.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.