Skip to main content

SelectionBoundsProvider

@zylem/game-lib


@zylem/game-lib / debug / SelectionBoundsProvider

Interface: SelectionBoundsProvider

Defined in: packages/game-lib/src/lib/debug/selection-bounds.ts:31

Implemented by entities that define their own selection view. target is a scratch box to write into; return it, or null when the entity currently has no selectable volume. World space.

Methods​

getSelectionBounds()​

getSelectionBounds(target): Box3 | null

Defined in: packages/game-lib/src/lib/debug/selection-bounds.ts:32

Parameters​

target​

Box3

Returns​

Box3 | null