Taos API Reference
    Preparing search index...

    Class RasterDemTileset

    Index

    Constructors

    Properties

    maxSSE: number = DEFAULT_MAX_SSE

    Target screen-space error in pixels (lower = sharper / more tiles).

    skirtScale: number = 1

    Multiplies the baked skirt-curtain depth (see TerrainTileset.skirtScale).

    meshResolution: number = 65

    Output mesh resolution: vertices per tile side (so (res−1)²·2 triangles/tile).

    workerBake: boolean = true

    Decode + bake each tile on a Worker pool instead of inline on the render thread, so streaming tiles don't hitch the frame. Raster-DEM has no separate decode step worth keeping on-thread, so the worker decodes too. Falls back to inline automatically if the worker can't start (see RasterDemBakePool). On by default; turn off to decode + bake inline.

    balanceLod: boolean = true

    Enforce a restricted ("2:1 balanced") quadtree: no rendered tile may sit beside a neighbor more than maxLevelDifference levels finer. Without this, edge-adjacent tiles pick their LOD independently from screen-space error and can end up several levels apart, so the heightfield steps at the seam — a small step that reads as a cliff at grazing angles. On by default; the same rule the quantized-mesh TerrainTileset uses.

    maxLevelDifference: number = 1

    Max LOD difference permitted between edge-adjacent rendered tiles (balanceLod).

    Accessors

    • get imageryAttribution(): string | null

      Attribution for the active imagery drape, or null when draping is off.

      Returns string | null

    Methods

    • Terrain height (m) at a geodetic point (radians), from the finest rendered tile that covers it; null when none does.

      Parameters

      • lonRad: number
      • latRad: number

      Returns number | null