Specifies a light source. This is loaded either as a single light source or as an array of light sources.
struct | Array<struct>
"basic" | "oriented"trueSpritetrueOnly loaded, and mandatory if type is "oriented".
RealOrientationtrueOnly loaded if type is "oriented".
floatfalseBrightness of the light in the range [0, 1], where 0 is no light and 1 is the maximum light.
floatfalseThe radius of the light in tiles. Note that the light gets darker near the edges, so the effective size of the light will appear to be smaller.
RealOrientationtruebooleantrueuint8truefloattruefloattruebooleantrueOffsets tick used to calculate flicker by position hash. Useful to desynchronize flickering of multiple stationary lights.
VectortrueColortrueColor of the light.
floattrue