timelinefx:timelinefx.tlVector2
Struct tlVector2
A 2d vector class
Public Fields
invalid
x
y
Public Properties
Invalid Find out if the vector is valid (an equivalent for null)
Public Constructors
New Make a new vector
Public Methods
AddVector Add a vector
Angle Get the angle of the vector Needs updating to work with radians
Clone Clone the vector
Divide Divide a vector
DotProduct Get the dot product of this vector and another
HasLength Find out if the vector has length
LeftNormal Get the left hand normal of the vector
Length Get the length of the vector
Limit Normalise the vector to a specific limit
Mirror Mirror the vector
Move Move the vector
MoveByVector Move the vector
Multiply Multiply a vector
Normal Get the normal of the vector
Normalise Normalise the vector
NormaliseTo Normalise to a specific length
Scale Scale the vector
SetPositionByVector Position the vector
SubtractVector Subtract a vector
ToString Get the string representation of the vector
Unit Get the Unit Vector (same as normalise)