Ar Screen
The ArScreen class represents a screen for augmented reality (AR) content to be displayed on the glasses.
This screen can display AR elements such as meshes and boards, as well as HUD elements.
You should inherit from this class in order to create application screens to be displayed on the glasses (similar to IOS viewController or Android Activity)
The ArScreen lifecycle is as follows:
-- onResume
----- onUpdateUI
----- (here the screen is actually drawn and sent to the glasses)
-- onPause
onDestroy
Properties
Functions
returns a base ui element that was added to the screen
Receive the base ui elements that were added to the screen
Indicates if the screen has base ui elements
Retrieves the horizontal field of view in degrees.
Retrieves the vertical field of view in degrees.
Override this function to be notified when the screen is about to be drawn
Removes the ArScreen from the screens stack.
Sends the specified UI element to the back of the rendering order on the internal HUD board.
Sets the specified UI element as the topmost element on the internal HUD board.