Here is my code: It removes the nodes, but the memory is still around 200MB
self.sceneView.scene.rootNode.enumerateChildNodes { (node, _) in
if node.name == path! {
node.removeFromParentNode()
}
}
Here is my code: It removes the nodes, but the memory is still around 200MB
self.sceneView.scene.rootNode.enumerateChildNodes { (node, _) in
if node.name == path! {
node.removeFromParentNode()
}
}