Overview
The Load Scene action loads a 3D scene from your scene library into the training viewer. Scenes are the 3D environments where learners interact with objects, perform tasks, and complete objectives. Every state that displays a 3D environment should load a scene on entry.When to Use
- Initialize a scene: use in the
onEntryof any state that shows a 3D environment - Change environments: switch to a different scene when the training moves to a new location or task
- Reset the scene: reload the same scene to return it to its default state after an action attempt
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Scene ID | string | Yes | Select the 3D scene from your scene library. This determines which environment is displayed. |
| Display Mode | enum | No | How the scene is rendered: default (standard 3D view) or other render modes. Defaults to default. |
| Scale Mode | enum | No | How the scene scales to fit the viewer: fit (scale to fit), stretch, or original. Defaults to fit. |
| Initial Position | X, Y, Z | No | Offset the scene’s starting position (in meters). Leave at 0, 0, 0 for default placement. |
| Meeple Disabled | boolean | No | Set to true to hide the learner’s avatar/user representation in the scene. Defaults to false (avatar visible). |
Important Notes
- Scene replacement: Loading a new scene replaces any currently loaded scene. The previous scene is unloaded.
- Scene persistence: The same scene instance persists if you stay in the same state. Objects you move or visibility changes you make are retained.
- Asset library required: Scenes must be created and imported in your Creator App project before they can be referenced.
Practical Example
Scenario: A training where learners progress through three environments: a warehouse, a factory floor, and an equipment room.In the Warehouse state’s
onEntry, add a Load Scene action:- Scene ID:
warehouse_main - Display Mode:
default - Scale Mode:
fit - Meeple Disabled:
false
In the FactoryFloor state’s
onEntry, add a Load Scene action:- Scene ID:
factory_floor_main - Meeple Disabled:
true

