Defining other scenes
- Last UpdatedDec 04, 2023
- 1 minute read
Add a file called user_contexts.xml to the project.
This file can host the definitions for all needed scenes, excluding the EYESIM environment default scene.
Code example
This is a code example for user_contexts.xml.
<!-- scene designed for on demand contents loading -->
<Scene name="scene_details" camera="camera_move">
</Scene>
<!-- scene with pre-defined contents to be loaded at startup -->
<Scene name="scene_internals" camera="cam_internals">
<include name="user\main_context_internals" \>
</Scene>
Note: Each scene requires the definition of an initial camera, which must be present in the scene contents.