Vector2
@Serializable
A 2D vector representation in Cartesian coordinates with methods for mathematical operations and conversions. Implements linear algebra functionalities and provides utility methods for creating and manipulating 2D vectors.
Constructors
Types
Properties
Functions
Link copied to clipboard
returns the area of the parallelogram formed by extruding this over other
Link copied to clipboard
Calculates the Euclidean distance to other.
Link copied to clipboard
Calculates a vector perpendicular to the current one.
Link copied to clipboard
project this vector on on
Link copied to clipboard
reflect this vector over surfaceNormal
Link copied to clipboard
Link copied to clipboard
Calculates the squared Euclidean distance to other.
Link copied to clipboard
Casts to DoubleArray.
Link copied to clipboard
Casts to IntVector2.
Link copied to clipboard