GisEyeLightSweepMaterialProperty

new GisEye.GisEyeLightSweepMaterialProperty(options)

光扫描纹理

Name Type Description
options object

入参对象

Name Type Default Description
orientation Number 1 optional

运动方向 1(x方向) 2(y方向)

rate Number 1 optional

rate 速率

Example:
let lon = 104;
  let lat = 30;
  viewer.entities.add({
    polygon: {
      hierarchy: Cesium.Cartesian3.fromDegreesArrayHeights([
        lon - 0.2+1.5, lat - 0.1, 0,
        lon + 0.2+1.5, lat - 0.1, 0,
        lon + 0.2+1.5, lat - 0.5, 0,
        lon - 0.2+1.5, lat - 0.5, 0,
      ]),
      material: new GisEye.GisEyeLightSweepMaterialProperty({
        orientation: 1.0,
        rate: 1
      })
    }
  });