BIM.works SDKs - v3.0.0-b.115
    Preparing search index...

    Interface GridOptions

    interface GridOptions {
        axisXColor?: number[];
        axisYColor?: number[];
        elevation?: number;
        majorColor?: number[];
        minorColor?: number[];
        opacity?: number;
        snapping?: boolean;
    }
    Index

    Properties

    axisXColor?: number[]

    Colour of the X axis line. Set its alpha to 0 to hide it.

    axisYColor?: number[]

    Colour of the Y axis line. Set its alpha to 0 to hide it.

    elevation?: number

    Elevation of the grid plane in meters. Default 0.

    majorColor?: number[]

    Colour of every tenth line.

    minorColor?: number[]

    Colour of the subdivision lines.

    opacity?: number

    Overall opacity multiplier, 0..1. Default 1.

    snapping?: boolean

    Whether grid intersections act as snapping targets for measurements and tools, on the same footing as model vertices. Default true. Turning this off leaves the grid visible but inert.