EntityBoxOptions
Defined in: ecs/entityBox.ts:47
Properties
Section titled “Properties”iconHalf?
Section titled “iconHalf?”
optionaliconHalf?:number| ((at) =>number)
Defined in: ecs/entityBox.ts:57
World half-size for an entity that draws nothing of its own — a camera, a light, an empty. Zero (the default) reports no box for those; an editor that wants them clickable passes the size of the icon it drew.
A function when that size is not a world size: an icon drawn at a fixed number of PIXELS covers a world extent that depends on where it is, and the caller is handed the entity’s world position to answer for it.