Taos API Reference
    Preparing search index...

    Interface LoadedHeightmap

    interface LoadedHeightmap {
        texture: GPUTexture;
        resolution: number;
        data: Float32Array;
    }
    Index

    Properties

    texture: GPUTexture
    resolution: number

    Output resolution (square).

    The normalized [0, 1] field the texture was built from — pass as HeightmapOptions.data so TerrainSystem.heightAt works.