Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...
    interface VisionSourceData {
        animation: object;
        attenuation: number;
        blinded: boolean;
        brightness: number;
        color: number | null;
        contrast: number;
        disabled: boolean;
        elevation: number;
        level: string;
        lightRadius: number;
        preview: boolean;
        saturation: number;
        seed: number | null;
        visionMode: string;
        x: number;
        y: number;
    }
    Index

    Properties

    animation: object

    An animation configuration for the source

    attenuation: number

    Strength of the attenuation between bright, dim, and dark

    blinded: boolean

    Is this vision source blinded?

    brightness: number

    The vision brightness.

    color: number | null

    A color applied to the rendered effect

    contrast: number

    The amount of contrast

    disabled: boolean

    Whether or not the source is disabled

    elevation: number

    The elevation of the point source

    level: string

    The ID of the Level the point source is in

    lightRadius: number

    The range of light perception.

    preview: boolean

    Is this source a temporary preview?

    saturation: number

    The amount of color saturation

    seed: number | null

    An integer seed to synchronize (or de-synchronize) animations

    visionMode: string

    The vision mode.

    x: number

    The x-coordinate of the source location

    y: number

    The y-coordinate of the source location