Skip to content
Luna edited this page May 30, 2021 · 3 revisions

Nodes

Nodes are the backbone of an Inochi2D puppet, they make up all the parts of the puppet that move as well as contain data for deformation, etc.
NOTE: Inochi2D is still under active development and the Nodes are subject to change over time.

Nodes are built out of a class hierarchy, every node being a subclass of the main Node class.
Some nodes have their own special subclass (eg. Drawables), which needs to be instantiated at load time through some factory mechanism.
Every node has a typeId which can be used for this, type ids are of a string type.

Official TypeIds

Here's a nonexhaustive list of current typeIds in Inochi2D

Type Id Mapped To Notes
Node Node
Drawable Drawables Non-instantiatable, throw error
PathDeform PathDeform
Part Part Subclass of Drawable
Mask Mask Subclass of Drawable
Clone this wiki locally