hasVisibility
hasVisibility(
world,entity):boolean
Defined in: ecs/entityUtils.ts:27
Whether hiding this entity would do anything — it has a UI node, or at least one renderer of its own. False for a bare transform, whose children draw but which has nothing of its own to hide.
Parameters
Section titled “Parameters”entity
Section titled “entity”number
Returns
Section titled “Returns”boolean