Type alias GridProps

GridProps: {
    args?: number[];
    axisThickness?: number;
    cellColor?: Color;
    cellSize?: number;
    cellThickness?: number;
    depthWrite?: boolean;
    fadeDistance?: number;
    fadeStrength?: number;
    followCamera?: boolean;
    infiniteGrid?: boolean;
    sectionColor?: Color;
    sectionSize?: number;
    sectionThickness?: number;
    side?: Side;
    visible?: boolean;
}

Type declaration

  • Optional args?: number[]

    plane-geometry size, default: [100, 100]

  • Optional axisThickness?: number

    axisThickness thickness, default: 1.8

  • Optional cellColor?: Color

    Cell color, default: rgb(50,55,72)

  • Optional cellSize?: number

    Cell size, default: 1

  • Optional cellThickness?: number

    Cell thickness, default: 0.8

  • Optional depthWrite?: boolean

    Material depthWrite, default: false

  • Optional fadeDistance?: number

    Fade distance, default: 1000

  • Optional fadeStrength?: number

    Fade strength, default: 1

  • Optional followCamera?: boolean

    Follow camera, default: false

  • Optional infiniteGrid?: boolean

    Display the grid infinitely, default: false

  • Optional sectionColor?: Color

    Section color, default: rgb(73,79,105)

  • Optional sectionSize?: number

    Section size, default: 10

  • Optional sectionThickness?: number

    Section thickness, default: 1

  • Optional side?: Side

    Material side, default: BackSide

  • Optional visible?: boolean

    visible, default: true