API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classHitTestLayer
@codexo/exojs/debug / debug / stable
Debug layer that draws outlines around interactive scene nodes. - Magenta: interactive but idle. - Yellow: currently hovered. - Cyan: pointer-captured (drag in progress). - Faint gray spatial-index bounding volumes when the index is active (i.e. at least one interactive node is present in the scene). World-space.
2
props
3
methods
0
events
Import
import { HitTestLayer } from '@codexo/exojs/debug'Debug layer that draws outlines around interactive scene nodes. - Magenta: interactive but idle. - Yellow: currently hovered. - Cyan: pointer-captured (drag in progress). - Faint gray spatial-index bounding volumes when the index is active (i.e. at least one interactive node is present in the scene). World-space.
Constructors1
Methods3
destroy(): voidRelease the internal Graphics primitive.
render(backend: RenderBackend): voidWalk the scene tree and draw color-coded outlines around interactive nodes (magenta = idle, yellow = hovered, cyan = pointer-captured). Also draws faint gray spatial-index bounding volumes when the index is active, helping diagnose the tree's grouping behavior.
No per-frame pre-computation required; all state is derived in render.
Properties2
visible: booleanRenders in world-space so outlines align with interactive node positions.
Source