insertChildNode(_:at:)
Adds a node to the node’s array of children at a specified index.
Declaration
func insertChildNode(_ child: SCNNode, at index: Int)Parameters
- child:
The node to be inserted.
- index:
The position at which to insert the new child node.