The Vector2D class allows you to create a two dimensional vector within your scripts. All settings can be manipulated through script.
![]() |
|
new(float x, float y) | Description Creates a new vector with 2 dimensions. Parameters float x
Returns Vector2D |
![]() |
|
Length() | Description Returns the length of the vector. Parameters None Returns float |
![]() |
|
float x | Gets or sets the x value of the vector. |
float y | Gets or sets the y value of the vector. |