Class: DirectionalLight

Glodon.CIMCube.Scene. DirectionalLight

平行光

new DirectionalLight(options)

平行光
Parameters:
Name Type Description
options Object 平行光
Properties
Name Type Argument Default Description
position Object 平行光光源位置 如{lon: 119, lat: 38, height: 100}
targetPosition Object <optional>
目标位置 用于确定平行光方向 如{lon: 119, lat: 38, height: 100}
color String <optional>
'#ffffff' 平行光颜色
intensity Number <optional>
1 平行光强度

Members


cesiumColor :Cesium.Color

颜色
Type:
  • Cesium.Color

color :String

平行光颜色
Type:
  • String

directionWorld :Cesium.Cartesian3

方向
Type:
  • Cesium.Cartesian3

intensity :Number

平行光强度 开启真实感渲染后 此参数为物理单位照度(lux)
Type:
  • Number

position :Object

平行光光源位置 如{lon: 119, lat: 38, height: 100}
Type:
  • Object

positionWorld :Cesium.Cartesian3

光源位置
Type:
  • Cesium.Cartesian3

targetPosition :Object

目标位置 用于确定平行光方向 如{lon: 119, lat: 38, height: 100}
Type:
  • Object

targetPositionWorld :Cesium.Cartesian3

目标位置
Type:
  • Cesium.Cartesian3

updateEvent :Cesium.Event

更新事件
Type:
  • Cesium.Event