Skip to main content
DOCUMENTATION MOVED

Scene

Description

On clicking on Create/Build Experience, an editor opens up. The large empty area with black background is the Scene. This is where 3D elements can be placed. Scene is a scratchpad for creations in XR on GMetri Platform. Once Elements are added to the Scene, they can be rotated around, dragged and translated in three dimensions inside the Scene. An experience can have multiple Scenes. GMetri Platform provides the functionality to go back and forth between Scenes via its rules (see below).

Usage

A Scene is where you place all your 2D and 3D Elements.

Properties

PropertyDescription
NameName of the Scene
Yaw
Yaw
Set the direction the scene will start with, in yaw (horizontal direction/)
Pitch
Pitch
set the direction the scene will start with, in pitch (vertical direction
Reset rotation
Rotation Reset
reset the scene rotation to the Scene Yaw and Pitch Correction values every time the scene is changed to this current scene
Gyro Lock
Gyro Lock
Lock the gyroscope of your device, ensuring your content remains on screen no matter how you turn your mobile device

Rules

When Events

  • preloads - fires an action when the scene is selected or set to appear next, but before it can appear/load on the screen. This is mostly used to set/reset variable values.
  • loads - fires an action only after a scene has loaded fully on the screen.

Then Actions

  • reset session
  • end experience
  • make API calls
  • open URL
  • reset all variables
  • copy to clipboard
  • change to scene
  • take a screenshot
  • point to [an element] - the scene automatically scrolls all the way to this element, centering it on the screen