VectorExtensions.ToVector2 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.
Overloads
ToVector2(Point) | |
ToVector2(Size) |
ToVector2(Point)
public:
[System::Runtime::CompilerServices::Extension]
static System::Numerics::Vector2 ToVector2(Windows::Foundation::Point point);
public static System.Numerics.Vector2 ToVector2 (this Windows.Foundation.Point point);
static member ToVector2 : Windows.Foundation.Point -> System.Numerics.Vector2
<Extension()>
Public Function ToVector2 (point As Point) As Vector2
Parameters
- point
- Point
Returns
Applies to
ToVector2(Size)
public:
[System::Runtime::CompilerServices::Extension]
static System::Numerics::Vector2 ToVector2(Windows::Foundation::Size size);
public static System.Numerics.Vector2 ToVector2 (this Windows.Foundation.Size size);
static member ToVector2 : Windows.Foundation.Size -> System.Numerics.Vector2
<Extension()>
Public Function ToVector2 (size As Size) As Vector2
Parameters
- size
- Size
Returns
Applies to
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.