\ ScriptableObject
A 2D vector representation
This object has no properties.
vector2 Constructs a vector2
normalize Normalizes the vector in-place
getNormalized Returns a normalized copy of the vector
length Returns the length of the vector
lengthSq Returns the squared length of the vector
dot Returns the dot product of the vector with the given vector
transform Transforms the vector by the given matrix
transformCoord Transforms the vector by the given matrix and projects it back into w=1
transformNormal Transforms the vector representing a normal by the given matrix NOTE: To transform a normal by a matrix used to transform a point, the matrix passed in must be the transpose of the inverse of that matrix.
This object has no events.