Vector2D Properties |
The Vector2D type exposes the following members.
Name | Description | |
---|---|---|
![]() | Item |
Access the X, Y components of the vector using [0], [1] respectively.
|
![]() | Length |
Returns the length of the current vector.
|
![]() | LengthSquared |
Returns the squared length of the current vector.
|
![]() | Magnitude |
Returns the length of the current vector.
|
![]() | MagnitudeSquared |
Returns the squared length of the current vector.
|
![]() | Normalized |
Returns the current vector with a length of 1.
|