Contents

addChildNode(_:)

Adds a node to the node’s array of children.

Declaration

func addChildNode(_ child: SCNNode)

Parameters

  • child:

    The node to be added.

Discussion

Calling this method appends the node to the end of the childNodes array.

See Also

Managing the Node Hierarchy