interface AmbientLightData {
    _id: string;
    x: number;
    y: number;
    rotation: number;
    walls: boolean;
    vision: boolean;
    config: LightData;
    hidden: boolean;
    flags: object;
}

Properties

_id: string

The _id which uniquely identifies this AmbientLight document

x: number

The x-coordinate position of the origin of the light

y: number

The y-coordinate position of the origin of the light

rotation: number

The angle of rotation for the tile between 0 and 360

walls: boolean

Whether or not this light source is constrained by Walls

vision: boolean

Whether or not this light source provides a source of vision

config: LightData

Light configuration data

hidden: boolean

Is the light source currently hidden?

flags: object

An object of optional key/value flags