navcat docs
    Preparing search index...

    Type Alias Heightfield

    type Heightfield = {
        bounds: Box3;
        cellHeight: number;
        cellSize: number;
        height: number;
        spans: (HeightfieldSpan | null)[];
        width: number;
    }
    Index

    Properties

    bounds: Box3

    the bounds in world space

    cellHeight: number

    the vertical size of each cell (minimum increment along y)

    cellSize: number

    the vertical size of each cell (minimum increment along x and z)

    height: number

    the height of the heightfield (along z axis in cell units)

    spans: (HeightfieldSpan | null)[]

    the heightfield of spans, (width*height)

    width: number

    the width of the heightfield (along x axis in cell units)