The entity to associate with this UI renderer. When the entity is removed, the UI renderer is automatically cleaned up.
The UI component to render
Optional options: UiRendererOptionsOptional virtual size used for UI scale factor when main UI has none
Set the main UI renderer. Optional virtual size defines the global UI scale factor.
Optional options: UiRendererOptions
Add a UI renderer associated with an entity. The UI will be automatically cleaned up when the entity is removed from the engine.
If a renderer is already associated with the given entity, it will be replaced.
This allows dynamically adding UI Renderers that are rendered alongside the main UI set via setUiRenderer().