ClearScene
Removes all objects from a scene, except the scene’s default coordinate axes.
Syntax
-
ClearScene(s)
-
s
is a string
-
Description
If s
is the name of an existing scene, then ClearScene(s)
removes all objects from this scene except the scene’s default coordinate axes. A reference to the scene is returned.
If s
is not the name of an existing scene, then a new, empty scene is created with this name (just as if scene(s)
had been called). A reference to this scene is returned.