Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...

    Interface GridConfiguration

    interface GridConfiguration {
        alpha?: number;
        color?: ColorSource;
        distance?: number;
        size: number;
        style?: string;
        thickness?: number;
        units?: string;
    }
    Index

    Properties

    alpha?: number

    The alpha of the grid. Default: 1.

    color?: ColorSource

    The color of the grid. Default: 0x000000.

    distance?: number

    The distance of a grid space in units (a positive number). Default: 1.

    size: number

    The size of a grid space in pixels (a positive number).

    style?: string

    The style of the grid. Default: "solidLines".

    thickness?: number

    The line thickness of the grid. Default: 1.

    units?: string

    The units of measurement. Default: "".