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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.