new SuperMap3D.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.


color : Color

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

intensity : Number

The intensity of the light.
Default Value: 2.0