GisEyeLightSourceMaterialProperty

new GisEye.GisEyeLightSourceMaterialProperty(options)

光源纹理

Name Type Description
options object

入参对象

Name Type Default Description
color Cesium.Color new Cesium.Color(1.0, 0.0, 0.0, 1.0) optional

颜色

Example:
let lon = 104;
  let lat = 30;
  viewer.entities.add({
    position: Cesium.Cartesian3.fromDegrees(lon, lat-0.5, 0),
    ellipse: {
      semiMinorAxis: 20000.0,
      semiMajorAxis: 20000.0,
      height: 10,
      material: new GisEye.GisEyeLightSourceMaterialProperty({
        color:  new Cesium.Color(1.0, 0.0, 0.0, 1.0)
      })
    }
  });