Description
|
Loads a previously saved scene. If current scene is not empty, a new scene will be created before switching to it and loading the scene. See also simSaveScene, simLoadModel, simCloseScene and simSetBoolParameter with sim_boolparam_scene_and_model_load_messages.
|
C synopsis
|
simInt simLoadScene(const simChar* filename) |
C parameters |
filename: scene filename. The filename extension is required ("ttt")
|
C return value
|
-1 if operation was not successful. In a future release, a more differentiated return value might be available
|
Lua synopsis
|
number result=simLoadScene(string filename) |
Lua parameters |
Same as C-function
|
Lua return values
|
Same as C-function
|