entityWorldBox
此内容尚不支持你的语言。
entityWorldBox(
world,entity,opts?):EntityBox|null
Defined in: ecs/entityBox.ts:59
The world box of entity, or null when it has none.
Size scaled by the WORLD scale, centred by the pivot, turned by the world rotation — the three fields the renderer composes. UI nodes get null: they live in the layout’s own screen space and are hit-tested there.
Parameters
Section titled “Parameters”entity
Section titled “entity”number
Returns
Section titled “Returns”EntityBox | null