@novorender/web_app / RenderStateGrid
Interface: RenderStateGrid
Grid related render state.
Properties
axisX
readonly axisX: ReadonlyVec3;
The grid's x-axis in world space.
Defined in
@novorender/core3d/state/index.ts:311
axisY
readonly axisY: ReadonlyVec3;
The grid's y-axis in world space.
Defined in
@novorender/core3d/state/index.ts:314
color1
readonly color1: RGB;
Color of minor grid lines.
Defined in
@novorender/core3d/state/index.ts:302
color2
readonly color2: RGB;
Color of major grid lines.
Defined in
@novorender/core3d/state/index.ts:305
distance
readonly distance: number;
Max distance to render grid in meters.
Defined in
@novorender/core3d/state/index.ts:327
enabled
readonly enabled: boolean;
Turn grid on and off.
Defined in
@novorender/core3d/state/index.ts:299
origin
readonly origin: ReadonlyVec3;
The grid's origin/center coordinate in world space.
Defined in
@novorender/core3d/state/index.ts:308
size1
readonly size1: number;
Minor grid cell size
Default Value
1
Defined in
@novorender/core3d/state/index.ts:319
size2
readonly size2: number;
Major grid cell size
Default Value
10