Skip to content

FxLight beta ​

Interface of @v12-engine/client

ts
export interface FxLight extends Omit<LightDef, 'x' | 'y' | 'z' | 'follow' | 'color' | 'intensity' | 'range'>

A light in an effect (LightDef without a place: it is at the effect), coming up over fadeIn and going out over fade seconds at its end

Members ​

color ​

ts
color?: Param<FxColor>;

The light's colour, over the part's life

fade ​

ts
fade?: number;

Seconds the light takes to go out at the effect's end

fadeIn ​

ts
fadeIn?: number;

Seconds the light takes to come up

intensity ​

ts
intensity?: Param<number>;

The light's brightness, over the part's life

range ​

ts
range?: Param<number>;

The light's reach in cells, over the part's life