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

    Interface RulerWaypoint

    interface RulerWaypoint {
        elevation: number;
        index: number;
        measurement: GridMeasurePathResultWaypoint;
        next: RulerWaypoint | null;
        previous: RulerWaypoint | null;
        ray: Ray | null;
        x: number;
        y: number;
    }
    Index

    Properties

    elevation: number

    The elevation in grid units.

    index: number

    The index of the waypoint.

    The measurements at this waypoint.

    next: RulerWaypoint | null

    The next waypoint, if any.

    previous: RulerWaypoint | null

    The previous waypoint, if any.

    ray: Ray | null

    The ray from the center point of previous to the center point of this waypoint, or null if there is no previous waypoint.

    x: number

    The x-coordinate in pixels.

    y: number

    The y-coordinate in pixels.