Regular API function

simCloseScene (remote API equivalent: simxCloseScene)

Description Closes current scene, and switches to another open scene. If there is no other open scene, a new scene is then created. See also simLoadScene and simSaveScene.
C synopsis simInt simCloseScene()
C parameters
none
C return value
-1 if operation was not successful, otherwise the current scene index.
Lua synopsis -
Lua parameters
-
Lua return values
-

All regular API functions on one page