Atlas Engine
API Referenceatlasatlas/graphics

AmbientLight

Uniform ambient illumination described by color and intensity.

Module: atlas/graphics

Uniform ambient illumination described by color and intensity.

Declaration

export class AmbientLight { ... }

Constructors

Creates a new ambient light.

constructor(color?: Color, intensity?: number);

Properties

color

The RGBA color.

color: Color;

intensity

The effect intensity.

intensity: number;

On this page