SunLight

new Ditap.SunLight(options)

A directional light source that originates from the Sun.
Name Type Description
options object optional Object with the following properties:
Name Type Default Description
color Color Color.WHITE optional The light's color.
intensity number 2.0 optional The light's intensity.

Members

color : Color

The color of the light.
Default Value: Color.WHITE

intensity : number

The intensity of the light.
Default Value: 2.0