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