Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...
    interface GridData {
        alpha?: number;
        color?: string;
        distance?: number;
        size?: number;
        style?: string;
        thickness?: number;
        type?: number;
        units?: string;
    }
    Index

    Properties

    alpha?: number

    A number between 0 and 1 for the opacity of the grid lines.

    color?: string

    A string representing the color used to render the grid lines.

    distance?: number

    The number of distance units which are represented by a single grid space.

    size?: number

    The grid size which represents the width (or height) of a single grid space.

    style?: string

    The line style of the grid.

    thickness?: number

    The thickness of the grid lines.

    type?: number

    The type of grid, a number from CONST.GRID_TYPES.

    units?: string

    A label for the units of measure which are used for grid distance.