Vector2 Vector2 Vector2 Vector2 Struct

Definition

Describes a vector of two floating-point components.

public : struct Vector2public struct Vector2Public Structure Vector2// You can use this struct in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

X X X X

The x component of the vector.

public : field float Xpublic field float XPublic Field X// You can use this field in JavaScript.

Y Y Y Y

The y component of the vector.

public : field float Ypublic field float YPublic Field Y// You can use this field in JavaScript.