Taos API Reference
    Preparing search index...

    Interface DebugLinesFeatureOptions

    interface DebugLinesFeatureOptions {
        source: () => DebugLineData | null;
        name?: string;
        depthTest?: boolean;
        xrayStrength?: number;
    }
    Index

    Properties

    source: () => DebugLineData | null

    Returns the line-list vertices to draw this frame, or null for none. Read lazily each frame so the producer can rebuild on demand.

    name?: string

    Stable name for engine lookup / toggling. Default the class name.

    depthTest?: boolean

    Depth-test against the scene so lines are occluded by geometry (with a faint "x-ray" pass for the hidden parts). When false, all lines draw on top. Default true.

    xrayStrength?: number

    Brightness of the occluded (x-ray) pass, 0 disables it. Default 0.25.