-
Notifications
You must be signed in to change notification settings - Fork 26
UiModule
Base class for graphical user interface support.
static UiModule instance()
Returns an instance of the UiModule class
UiModule createAndInitialize()
Creates and initializes an instance of the UiModule class
☑️ VERSION 12.3 activateWidget(Widget widget)
Sets the specified widget as active
WidgetFactory getWidgetFactory()
Returns an instance of WidgetFactory. WidgetFactory can be used to create widgets.
Container getUi()
Returns the root ui Container widget.
setCullingEnabled(bool enabled) bool isCullingEnabled()
Enabled or disables widget culling. When culling is enabled, 2D mode widgets are drawn only if they are within the viewport boundaries. Defaults to true.
☑️ VERSION 6.3 setGamepadInteractionEnabled(bool enabled) bool isGamepadInteractionEnabled()
Sets or checks if gamepad interaction in enabled in the UI.
☑️ VERSION 6.3 setPointerInteractionEnabled(bool enabled) bool getPointerInteractionEnabled()
Sets or checks if pointer interaction in enabled in the UI.