SortAsUIElementComponent
Marks a 3D renderable to be sorted as a UI element.
When attached to an entity with a renderable/interactive component (e.g. ModelComponent, VideoComponent), this component integrates the entity into the view-independent UI sorting system.
The distanceBias is a float value in meters, applied to a view-independent reference distance used to compute a unified sort order for mixed 2D/3D ordering.
Positive distanceBias moves the element forward (rendered later, on top).
Negative distanceBias moves the element backward (rendered earlier, behind).
The distanceBias only affects the sort order; it does not modify the entity's spatial position.
NOTE:
This component is mutually exclusive with DrawOrderGroupComponent. If both are present, this component will be ignored.
This component only affects the entity it is directly attached to; it does not affect any child entities.