fun addChild(child: ZObject)(source)

Adds a child object to this object, establishing a parent-child relationship. The child object will be rendered relative to this object's transform.

Parameters

child

The child object to add.