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.
Adds a node to the node’s array of children.
func addChildNode(_ child: SCNNode)The node to be added.
Calling this method appends the node to the end of the childNodes array.