Sets the name of the scene.
The scene name gets set automatically when opening or importing a file, and is the default name that appears in the Save, Save As, and Export dialog boxes.
System
setSceneName "name" |
Name | Type | Required | Comments |
---|---|---|---|
sceneName | string | yes | The name of the scene. |
None
void
// Modify the name of the scene string $name; // Append v2 to the current scene name $name = `getSceneName`; $name += "_v2"; // Set it setSceneName $name; |