API reference

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

C

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