cesium-spatial
    Preparing search index...

    Interface CellPrimitiveLayerOptions

    Construction options for CellPrimitiveLayer.

    interface CellPrimitiveLayerOptions {
        allowPicking?: boolean;
        asynchronous?: boolean;
        clampToGround?: boolean;
        classificationType?: ClassificationType;
        color?: Color;
        extrudedHeight?: number;
        height?: number;
        outlineColor?: Color;
        outlineMaxEdgeMeters?: number;
        outlines?: boolean;
        outlineWidth?: number;
        show?: boolean;
        style?: CellStyleFunction;
        translucent?: boolean;
    }
    Index
    allowPicking?: boolean

    Whether cells respond to picking. Defaults to true.

    asynchronous?: boolean

    Build geometry off the main thread over several frames. Defaults to true.

    clampToGround?: boolean

    Drape cells over terrain instead of drawing them on the ellipsoid.

    classificationType?: ClassificationType

    What clamped cells classify. Defaults to ClassificationType.BOTH.

    color?: Color

    Fill color for cells the style function does not cover.

    extrudedHeight?: number

    Default top height in meters, producing prisms. Ignored when clamped.

    height?: number

    Default base height in meters. Ignored when clampToGround is set.

    outlineColor?: Color

    Outline color for cells the style function does not cover.

    outlineMaxEdgeMeters?: number

    Longest outline segment before extra vertices are inserted, in meters.

    outlines?: boolean

    Draw cell outlines in a companion polyline primitive. Off by default.

    outlineWidth?: number

    Outline width in pixels.

    show?: boolean

    Initial visibility.

    Per-cell style resolver, consulted on every build and restyle.

    translucent?: boolean

    Allow translucent fills. Costs a depth-sorted pass, so it is opt-in.