Skip to content

LightLook beta ​

Interface of @v12-engine/client

ts
export interface LightLook

The light of the scene as a game sets it (GameView.world.lighting, client.setLighting): what it gives is used, over what the time of day makes. Intensities about 0..2, colours 0..1

Members ​

ambient ​

ts
ambient?: number;

How bright the light from all around is

ambientColor ​

ts
ambientColor?: Rgb;

The light from all around's colour; the time of day's when left out

ground ​

ts
ground?: Rgb;

The colour of the light from below

sun ​

ts
sun?: number;

How bright the sun is

sunColor ​

ts
sunColor?: Rgb;

The colour of the sun's light; the time of day's when left out