Deletes the current SceneWorld
instance. Once this method is called, the scene world is no longer valid and should not be accessed or used in any way.
Deletes the current SceneWorld
instance. Once this method is called, the scene world is no longer valid and should not be accessed or used in any way.
Call this method when you want to completely remove a SceneWorld
from memory. Ensure that you do not attempt to access the scene world after calling this method, as it will lead to undefined behavior.
// Create a new SceneWorld SceneWorld mySceneWorld = new SceneWorld(); // Perform operations with mySceneWorld // When done, delete the SceneWorld mySceneWorld.Delete(); // Do not access mySceneWorld after this point