new Cesium.DirectionalLight(options)

光从一个方向发射 从无限远处.
Name Type Description
options object 下列属性的对象 :
Name Type Default Description
direction Cartesian3 发射光的方向.
color Color Color.WHITE optional The color of the light.
intensity number 1.0 optional 光的强度.
Throws:

Members

color : Color

光之颜色.
Default Value: Color.WHITE

direction : Cartesian3

发射光的方向.

intensity : number

光的强度.
Default Value: 1.0
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.