meshWorldBox
meshWorldBox(
world,entity):EntityBox|null
Defined in: ecs/entityBox.ts:141
The world box of a Mesh2D’s geometry — entityWorldBox for a mesh, whose extent is in its vertices rather than in a size field. The engine answers: only it knows whether the live geometry is the resident one or the inline payload. Null for anything else, and for a mesh that draws nothing.
Parameters
Section titled “Parameters”entity
Section titled “entity”number
Returns
Section titled “Returns”EntityBox | null