DirectionalLight

new Cesium.DirectionalLight(options)

从无限远的地方向单个方向发射的光。
Name Type Description
options object 对象,具有以下属性:
Name Type Default Description
direction Cartesian3 光发射的方向。
color Color Color.WHITE optional 光的颜色。
intensity number 1.0 optional 光的强度。
Throws:

Members

光的颜色。
Default Value: Color.WHITE
光的发射方向。
光线的强度。
Default Value: 1.0
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.