Interface GridHelperModuleOptions

interface GridHelperModuleOptions {
    args?: number[];
    axisThickness?: number;
    cellColor?: Color;
    cellSize?: number;
    cellThickness?: number;
    depthWrite?: boolean;
    drawGridLine?: boolean;
    fadeDistance?: number;
    fadeStrength?: number;
    followCamera?: boolean;
    gridLineColor1?: Color;
    gridLineColor2?: Color;
    gridLineDivisions?: number;
    gridLineSize?: number;
    infiniteGrid?: boolean;
    polygonOffset?: boolean;
    polygonOffsetFactor?: number;
    polygonOffsetUnits?: number;
    sectionColor?: Color;
    sectionSize?: number;
    sectionThickness?: number;
    side?: Side;
    visible?: boolean;
}

Hierarchy (view full)

Properties

args?: number[]

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

axisThickness?: number

axisThickness thickness, default: 1.8

cellColor?: Color

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

cellSize?: number

Cell size, default: 1

cellThickness?: number

Cell thickness, default: 0.8

depthWrite?: boolean

Material depthWrite, default: false

drawGridLine?: boolean

绘制网格线

fadeDistance?: number

Fade distance, default: 1000

fadeStrength?: number

Fade strength, default: 1

followCamera?: boolean

Follow camera, default: false

gridLineColor1?: Color

网格线中心线的颜色

gridLineColor2?: Color

网格线线条的颜色

gridLineDivisions?: number

网格线分割数

gridLineSize?: number

网格线大小

infiniteGrid?: boolean

Display the grid infinitely, default: false

polygonOffset?: boolean
polygonOffsetFactor?: number
polygonOffsetUnits?: number
sectionColor?: Color

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

sectionSize?: number

Section size, default: 10

sectionThickness?: number

Section thickness, default: 1

side?: Side

Material side, default: BackSide

visible?: boolean

visible, default: true