The Scene Editor is the tool you will use to design and configure your experiences. This tool will be automatically launched when opening a project.
Let's take a look at how the scene editor is organized.
In order to create a new element, you can just drag any asset from the asset library to the scene viewport.
Whenever you want to move, rotate or scale any of your elements, you can use the gizmo (axis control drawn over the element) or the inputs that appear inside element properties.
Camera controls are essential for viewing your scene from different perspectives. You can move the camera by:
Whenever you close an scene, your browser will store th last camera position, that will be recovered the next time you enter the scene again.
In order to create dynamic experiences, Onirix provides a simple mechanism to add some interaction by attaching events to your scene or elements.
Here it is the complete Event list:
|Event||Attachable to||Triggered when|
|Click||Any element type||Touching an element|
|On Scene Load||Scene||Scene loads|
|Finish||Audio, Video||Multimedia element finished its playback|
|Proximity Enter||Any element type||You are closer to an element above certain threshold|
|Proximity Exit||Any element type||You are closer to an element below certain threshold|
|Node Arrive||Route node||You arrive to a route node (for scene-tracking only)|
When creating an event, you must also specify an action, what you expect to happen when the event triggers. Here it is the full Action list:
|Launch URL||Launch the URL on the device|
|Enable visibility||Makes an element visible|
|Disable visibility||Makes an element not visible|
|Enable all||Makes all elements visible|
|Disable all||Makes all elements not visible|
|Toggle visibility||Makes visible if not visible and not visible if visible|
|Play||Plays a multimedia element|
|Pause||Pauses a multimedia element|
|Play/Pause||Plays a multimedia element if paused and pauses if playing|
|Position||Changes the position of an element|
|Rotation||Changes the rotation of an element|
|Scale||Change the scale of an element|
|Reset||Reloads the scene|
|Play animation||Plays a 3D element animation|
|Stop animations||Stops all animations on a 3D element|
When selecting an action, you can also specify a delay, in seconds, that will wait that time for your action to be executed.
Onirix also provides a way to add metadata to your elements, scenes or projects. As this is a broad topic, and probably only meaningful for SDK users, we have separated it into other section: Templates and Datasheets.