DirectionalLight

new Cesium.DirectionalLight(options)

A light that gets emitted in a single direction from infinitely far away.
Name Type Description
options Object Object with the following properties:
Name Type Default Description
direction Cartesian3 The direction in which light gets emitted.
color Color Color.WHITE optional The color of the light.
intensity Number 1.0 optional The intensity of the light.
Throws:

Members

The color of the light.
Default Value: Color.WHITE
The direction in which light gets emitted.

intensity : Number

The intensity of the light.
Default Value: 1.0
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.