resolveSelectionBounds
@zylem/game-lib / debug / resolveSelectionBounds
Function: resolveSelectionBounds()
resolveSelectionBounds(
entity,target):Box3|null
Defined in: packages/game-lib/src/lib/debug/selection-bounds.ts:97
The selection bounds for an entity: its own SelectionBoundsProvider
answer when it has one, otherwise the padded AABB of group ?? mesh.
Returns null when there is nothing to select, so callers need one check.
Parameters
entity
unknown
target
Box3
Returns
Box3 | null