🔆
UiService

registerUiElement ()

registerUiElement(object)

Registers object as a UI element. UI elements are rendered on a separate scene and always face the camera.

isUiElement ()

isUiElement(object)

Returns true if element belongs to the UI layer.