English中文

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.