Documentation
    Preparing search index...

    Interface HeightFieldGeometryOptions

    Options of heightFieldGeometry.

    interface HeightFieldGeometryOptions {
        columns: number;
        depth?: number;
        heights: ArrayLike<number>;
        rows: number;
        width?: number;
    }
    Index
    columns: number

    Samples along X. A finite integer ≥ 2.

    depth?: number

    Total extent along Z; defaults to 1.

    heights: ArrayLike<number>

    Row-major heights — heights[row * columns + column] is the Y of the sample at grid position (row, column), where column advances along +X and row along +Z. Length must be exactly rows * columns, every value finite (§85).

    rows: number

    Samples along Z. A finite integer ≥ 2.

    width?: number

    Total extent along X; defaults to 1. The field is centred on the origin.