May I get an example? To add a node, I do this:
let thisNode = thisScene.rootNode.childNodeWithName("someGraphic", recursively: true)
scene.rootNode.addChildNode(thisNode!)
Now how do I remove it? I've read this backwards and forwards and still can't do it.
The function is applied just like on a view or a layer:
thisNode.removeFromParentNode()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With