ViewVisibility
ViewVisibility
- bool
Description
Algorithmically-computed indication of whether an entity is visible and should be extracted for rendering.
Each frame, this will be reset to
false
duringVisibilityPropagate
systems in [PostUpdate
]. Later in the frame, systems inCheckVisibility
will mark any visible entities using [ViewVisibility::set
]. Because of this, values of this type will be marked as changed every frame, even when they do not change.If you wish to add custom visibility system that sets this value, make sure you add it to the
CheckVisibility
set.