Table of Contents

Editor: Multiple User Interfaces

Description

When adding the Nom UI scene component to a scenario, this is adding a master widget for the user interface. This particular component allows for multiple widgets to be added to the simulation. However, by default, the UI does not allow for multiple user interface screens to be present at the same time.


Enabling / Disabling the User Interface

In any level that has at least one instance of Nom UI, using the standard observer, pressing the tab during a simulation will enable or disable the UI on the screen, allowing the user to hide and show the widgets. However, this can be called manually on the user interface with the Enable UI function. This takes in an Enabled flag which will determine if the interface is enabled or not. If the tag is disabled, then the UI will be hidden from the viewport.

Untitled


Multiple User Interfaces

Within a single simulation, multiple instances of Nom UI can be created, each with different sets of widgets and elements that are present. For example, two user interfaces can be created where the second one is disabled by default.

Untitled

Custom button presses in the event graph can be configured so that pressing a button may switch between different user-interface views. For example, one UI may include all the data about the power systems, while the second interface may include all the data from the flight software.

Note

Nominal Editor does not allow widgets to be shared between Nom UI instances. Any widget that is added to one instance cannot be seen on the other.

A custom button press to swap between the different UI elements could look like the following, provided it is in the event graph of the level blueprint.

Untitled