composer.newScene()

Type Function
Library composer.*
Return value Table
Revision 2015.2600
Keywords composer, scene, new, newScene
See also composer.gotoScene()

Overview

This function creates new scene objects which can be used with the Composer Library, or references scenes created within the Composer GUI.

Syntax

composer.newScene( ccscene )
ccscene (optional)

String. Reference to a .ccscene file created and updated by the Composer GUI. This parameter should not include the .ccscene file extension; for example, if the JSON file which specifies the scene asset layout is called scene1.ccscene, this parameter should be simply "scene1". Note that this parameter should only be used with scenes created within the Composer GUI — it should not be used for Composer scenes created outside of the Composer GUI.

Example

Please see the scene template located on the top-level Composer documentation page.