Taos API Reference
    Preparing search index...

    Interface GeoDecalOptions

    interface GeoDecalOptions {
        height?: number;
        refHeightMeters?: number;
        far?: number;
        lit?: boolean;
        blend?: ProjectorBlend;
        opacity?: number;
    }
    Index

    Properties

    height?: number

    Altitude (m) of the projector above the footprint center — the ortho cast starts here. Must clear the tallest terrain under the footprint. Default 3000.

    refHeightMeters?: number

    Approximate terrain elevation (m above the ellipsoid) at the footprint center; the projector hovers height above THIS. Default 0.

    far?: number

    Projector far plane (m). Must reach the lowest terrain under the footprint (measured from the projector). Default height * 2.

    lit?: boolean

    Composite lit (paints G-buffer albedo before lighting → receives terrain light/shadow) or unlit (flat, always visible over the lit scene). Default true (lit).

    Blend mode. Default 'alpha'.

    opacity?: number

    Opacity in [0,1]. Default 1.