Protected
Readonly
cacheReadonly
lenghtReadonly
objectThis object is of type vector.
Readonly
planeReturns the plane this object is on.
Readonly
virtualWhether this object is virtual.
Private
xPrivate
yThe x component of the vector.
The y component of the vector.
All the nodes that depend on this node, and all the nodes that those nodes depend on, and so on. Uses a depth-first search.
All the nodes that this node depends on, and all the nodes that depend on those nodes, and so on. Uses a depth-first search.
All the nodes that depend on this node.
All the nodes that this node depends on.
Returns information about this object.
The x component of the vector.
The y component of the vector.
Adds to vectors to create a new vector.
Another vector.
Protected
addCalculates the dot product of this vector and another vector.
Another vector.
Returns the runtime representationinterfaces implemented by this object.
Multiplies the vector by a scalar to create a new vector.
A scalar.
Normalizes the vector to a length, defaulting to 1, to create a new vector.
The length to normalize to.
A new vector with the same direction as this vector and the given length.
Registers a new dependant
The node that depends on this node.
Protected
registerSubtracts another vector from this vector to create a new vector.
Another vector.
Returns the vector as a BareVector.
Generated using TypeDoc
Defines all the common functionality of a vector.