Taos API Reference
    Preparing search index...

    Class DebugLinesFeature

    Draws world-space colored line segments over the lit HDR — the engine's "visible collision shapes" / debug-line view. Feed it line-list vertices via DebugLinesFeatureOptions.source (e.g. buildPhysicsDebugLines from taos/physics, or any editor-built wireframe set).

    Register AFTER the lighting features and before tonemap so the lines land in the HDR image. When depthTest is on it reads frame.depth read-only: a bright pass shows segments in front of geometry, a dim pass x-rays the parts behind it, so you can see both where a collider is and how it sits relative to the visible mesh.

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    name: string

    Stable identifier used for lookup, signature hashing, and pass-name keying.

    enabled: boolean = true

    When false, the feature is skipped each frame. Toggling triggers a cached-graph invalidation.

    Methods