API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

C

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(): void
Release the internal Graphics primitive.
render(backend: RenderBackend): void
Walk 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.
Properties2
visible: boolean
Source