interface TokenMeasureMovementPathWaypoint {
    action?: string;
    cost?: number | TokenMovementCostFunction;
    elevation?: number;
    height?: number;
    shape?: TokenShapeType;
    terrain?: null | DataModel<object, DataModelConstructionContext>;
    width?: number;
    x?: number;
    y?: number;
}

Properties

action?: string

The movement action from the previous to this waypoint. Default: the previous or prepared movement action.

A predetermined cost (nonnegative) or cost function to be used instead of options.cost.

elevation?: number

The elevation in grid units. Default: the previous or source elevation.

height?: number

The height in grid spaces (positive). Default: the previous or source height.

The shape type (see CONST.TOKEN_SHAPES). Default: the previous or source shape.

terrain?: null | DataModel<object, DataModelConstructionContext>

The terrain data of this segment. Default: null.

width?: number

The width in grid spaces (positive). Default: the previous or source width.

x?: number

The top-left x-coordinate in pixels (integer). Default: the previous or source x-coordinate.

y?: number

The top-left y-coordinate in pixels (integer). Default: the previous or source y-coordinate.