跳转到内容

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.

World

number

boolean