addChild()

An existing node is added as a child of another node.

Tip:

Useful to copy a node from one location to another.

Example using addChild():

nodTrg = nodMyNode.addChild(nodSrc)

Parameter

Description

nodSrc

References the source node to be replicated