The x component of the vector.
The y component of the vector.
Readonly
deepAll the nodes that depend on this node, and all the nodes that those nodes depend on, and so on. Uses a depth-first search.
Readonly
deepAll the nodes that this node depends on, and all the nodes that depend on those nodes, and so on. Uses a depth-first search.
Readonly
dependantsAll the nodes that depend on this node.
Readonly
dependenciesAll the nodes that this node depends on.
Readonly
infoReturns information about this object.
Readonly
objectThis object is of type vector.
Readonly
planeReturns the plane this object is on.
Readonly
virtualWhether this object is virtual.
Readonly
xThe x component of the vector.
Readonly
yThe y component of the vector.
Adds to vectors to create a new vector.
Another vector.
Calculates 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.
Optional
length: numberThe 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.
Subtracts another vector from this vector to create a new vector.
Another vector.
Returns the vector as a BareVector.
Generated using TypeDoc
Interface, that combines the Vector, DependencyNode and GeometryObject interfaces.