Protected _xProtected _yThe size (magnitude) of the Vector
Setting the size mutates the current vector
Can be used to set the size of the vector, be very careful using this, mutating vectors can cause hard to find bugs
Get the x component of the vector
Set the x component, THIS MUTATES the current vector. It is usually better to create a new vector.
Be very careful setting components on shared vectors, mutating shared vectors can cause hard to find bugs
Get the y component of the vector
Set the y component, THIS MUTATES the current vector. It is usually better to create a new vector.
Be very careful setting components on shared vectors, mutating shared vectors can cause hard to find bugs
Static DownStatic HalfStatic LeftStatic OneStatic RightStatic UpStatic ZeroPerforms a 2D cross product with scalar. 2D cross products with a scalar return a vector.
The scalar to cross
Performs a 2D cross product with another vector. 2D cross products return a scalar value not a vector.
The vector to cross
Static crossStatic distanceStatic fromStatic isStatic maxStatic min
A 2D vector on a plane.