Vector2 Properties |
The Vector2 type exposes the following members.
Name | Description | |
---|---|---|
IsEmpty |
Gets whether this Vector2 is empty.
| |
Length |
Gets the length of this Vector2.
| |
One |
Returns a Vector2 with each component set to 1.
| |
SquaredLength |
Gets the squared length of this Vector2.
| |
UnitX |
Returns a Vector2 with components 1, 0.
| |
UnitY |
Returns a Vector2 with components 0, 1.
| |
X |
Gets the X component of this Vector2.
| |
Y |
Gets the Y component of this Vector2.
| |
Zero |
Returns an empty Vector2.
|