Namespace UI
Classes
CrosshairOnOff
Controls the dynamic transformations of the crosshair. It activates and deactivates the crosshair but also visualizes the distance to a grabbable TrainAR object by converging the crosshairs size until the object would be selected (e.g. if the user is too far away from an object to grab it).
DirectInfoController
The DirectInfoBoxController handles the displaying of direct info boxes that are used to display insishgts to the user. It is triggerd through invocation of an action in the StatemachineConnector and therefore has no public methods.
ErrorOverlayController
The error overlay controller handles the error overlay, triggers it on actions from the statemachine and sets its texts. It is triggerd through invocation of an action in the StatemachineConnector and therefore has no public methods.
InputFieldAdjust
InputFieldAdjust Adjusts the UI of the Input field when the keyboard is opened. This is mostly problematic on Android otherwise.
InteractButton
Handles interactions with the interact button.
InteractionButtonController
Handles the behaviour of the interaction buttons, such as enabling and disabling when appropriate or highlighting the combine button in orange when a combination would be possible.
It also allows for grabbed objects to be rotatable.
OnBoardingController
The OnBoardingController handles displaying the onboarding animations for scanning the environment and placing the training assembly by automaticaly detecting at which point and where sufficient feature points for a plane were detected.
OpenSidePanel
Handles opening or closing of the side panel (burger menu) wiht options for help, quitting and replacing the assembly.
Question
The abstract class for questions to share the same UI functions.
QuestionnaireController
The QuestionaireController provides the functionality to control the input field questions, reqular question and question lists. The input field question opens the keyboard and recives any given string input from the user. The regular question opens a question with up to four possible pre-defined awnsers. The question list opens a list with n possible items and continues when all right items were selected.
SaveArea
The SafeArea scripts moves UI components when they would otherwise be occluded by e.g. cutout cameras or speakers on some newer smartphone devices.
StreamVideo
StreamVideo is a wrapper for the Videoplayer class and handles playing of the onboarding animations.
TopPanelController
The TopPanelController handpes updates to the UI panel of the trainign scenario, showing the instructions and progress percentage of the training.
Structs
QuestionnaireController.Answer
Holder for information for one answer.
Enums
QuestionnaireController.QuestionUITypes
The type of the UI custom action/question.