Provides methods used for setting the visibility of a Game Object.
The Visible component is mixed into Game Objects to give them a visible boolean property
and a setVisible method. Visibility is tracked via a bitmask flag on renderFlags, so
toggling it is a fast bitwise operation. An invisible Game Object is excluded from the
render pass entirely, but its update logic continues to run normally each frame.
Should be applied as a mixin and not used directly.
Provides methods used for setting the visibility of a Game Object. The Visible component is mixed into Game Objects to give them a
visibleboolean property and asetVisiblemethod. Visibility is tracked via a bitmask flag onrenderFlags, so toggling it is a fast bitwise operation. An invisible Game Object is excluded from the render pass entirely, but itsupdatelogic continues to run normally each frame. Should be applied as a mixin and not used directly.