The new y-component of the vector
Retrieves a new instance of the vector (0, 0)
Retrieves the x-component or y-component of the vector.
Copies the x and y components from the source to the destination. The source and destination must be of the same type.
The source point.
Copies the x and y components from the source to the destination. The source and destination must be of the same type.
The type of your source, can also be a Vector2.
The source point.
Checks if two vectors are equal, using a threshold to avoid floating-point precision errors.
Returns true if both X & Y are greater than the other Vector2.
Returns the distance from the vector to the origin.
Sets both the x- and y-components of the vector to 0.
Returns the distance from the vector to the origin, squared.
Convert this Vector to an ObservableVector2.
Callback of the observableVector2.
Scope of the ObservableVector2.
Calculates the distance between two vectors.
Calculates the distance between two vectors squared.
Generated using TypeDoc
The new x-component of the vector