다음을 통해 공유


VectorExtensions.ToVector2 메서드

정의

오버로드

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

매개 변수

point
Point

반환

적용 대상

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

매개 변수

size
Size

반환

적용 대상