Node's ID, generate it with nanoid if applicable.
Node's parent node, if root node, the parent node is replaced by the engine instance.
Engine instance of the node's graph.
Get wether the node is loaded.
Get the node's ID.
Implemented to throw an error as outer nodes cannot have children.
Called at parent nodes fixedStep or directly by
the engine's step if this node is the rootNode
.
Calls the onFixedStep
method.
Called at parent nodes loading or directly by
the engine's loading if this node is the rootNode
.
Calls the onLoad
method.
Called by the node's constructor at instantiation, this method is to be implemented when needed.
Called by the parent node at each fixed step of the loop, this method is to be implemented when needed.
Called by the parent node when loaded, this method is to be implemented when needed.
If this node is the engine's root node, this method will be called by the engine instead.
Called by the parent node at each step of the loop, this method is to be implemented when needed.
Called by the parent node at unload, this method is to be implemented when needed.
If this node is the engine's root node, this method will be called by the engine instead.
Implemented to throw an error as outer nodes cannot have children.
Called at parent nodes step or directly by
the engine's step if this node is the rootNode
.
Calls the onStep
method.
Called at parent nodes unload or directly by
the engine's unload if this node is the rootNode
.
Calls the onUnload
method.
Generated using TypeDoc
An outer node is a node of the tree that does not have child nodes.
In most cases those nodes will be used as component or system nodes.