GisEyeBlocksFallLineMaterialProperty

new GisEye.GisEyeBlocksFallLineMaterialProperty(options)

块滑落纹理

Name Type Description
options object

入参对象

Name Type Default Description
color Cesium.Color new Cesium.Color(0.23, 0.67, 0.9, 1.0) optional

颜色

rate Number 1 optional

速率

repeatNum Number 32 optional

重复数量

Example:
let lon = 104;
  let lat = 30;
  viewer.entities.add({
     polyline: {
      positions: Cesium.Cartesian3.fromDegreesArrayHeights([
      lon - 0.2, lat-0.1, 0.0,
      lon + 0.2, lat-0.1, 0.0,
      ]),
      width: 20.0,
      material: new GisEye.GisEyeBlocksFallLineMaterialProperty({
        color: new Cesium.Color(0.23, 0.67, 0.9, 1.0),
        rate: 1,
        repeatNum: 32
      })
    }
  });