Constructor options for the AxisGrid entity.

interface AxisGridOptions {
    adaptiveLabels?: boolean;
    name?: string;
    object3d?: Object3D<Object3DEventMap>;
    origin?: AxisGridOrigin;
    style?: Partial<AxisGridStyle>;
    ticks?: AxisGridTicks;
    volume: AxisGridVolume;
}

Hierarchy (view full)

Properties

adaptiveLabels?: boolean

Toggles adaptive labels: labels outside the screen will be rendered at the screen edge.

false
name?: string

The optional display name of this entity. Mostly used for debugging.

The root object of this entity. If none is provided, a new Group is created.

The origin of the ticks volume

TickOrigin.Relative

style?: Partial<AxisGridStyle>

The style to apply to lines and labels.

The distance between grid lines.

100 on each axis.

The grid volume