Light

abstract external class Light(source)

A light source. This type describes an interface and is not intended to be instantiated directly. Together, color and intensity produce a high-dynamic-range light color. intensity can also be used individually to dim or brighten the light without changing the hue.

See also

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
abstract var color: Color

The color of the light.

Link copied to clipboard
abstract var intensity: Double

The intensity controls the strength of the light. intensity has a minimum value of 0.0 and no maximum value.