API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classBoundingBoxesLayer
@codexo/exojs/debug / debug / stable
Debug layer that draws a bounding-box outline around every visible RenderNode in the scene. Colours cycle by zIndex (HSL hue). World-space.
2
props
3
methods
0
events
Import
import { BoundingBoxesLayer } from '@codexo/exojs/debug'Debug layer that draws a bounding-box outline around every visible RenderNode in the scene. Colours cycle by zIndex (HSL hue). World-space.
Constructors1
Methods3
destroy(): voidRelease the internal Graphics primitive.
render(backend: RenderBackend): voidWalk the scene tree and draw a colored rectangle outline around every visible node that has non-zero bounds. Outline hue cycles by zIndex so overlapping nodes are visually distinguishable.
No per-frame pre-computation required; all state is derived in render.
Properties2
visible: booleanRenders in world-space so outlines align with scene node positions.
Source