interface AmbientLightData {
    _id: null | string;
    config: LightData;
    elevation?: number;
    flags: DocumentFlags;
    hidden?: boolean;
    rotation?: number;
    vision?: boolean;
    walls?: boolean;
    x: number;
    y: number;
}

Properties

_id: null | string

The _id which uniquely identifies this AmbientLight document

config: LightData

Light configuration data

elevation?: number

The elevation

An object of optional key/value flags

hidden?: boolean

Is the light source currently hidden?

rotation?: number

The angle of rotation for the tile between 0 and 360

vision?: boolean

Whether or not this light source provides a source of vision

walls?: boolean

Whether or not this light source is constrained by Walls

x: number

The x-coordinate position of the origin of the light

y: number

The y-coordinate position of the origin of the light