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.

Constructors 1
new(app: Application): BoundingBoxesLayer
Methods 3
destroy(): void
render(backend: RenderBackend): void
update(_delta: Time): void
Properties 2
visible: boolean
viewMode: DebugLayerViewMode
Source