GisEyeFlowingImagePolylineMaterialProperty

new GisEye.GisEyeFlowingImagePolylineMaterialProperty(options)

流动线图片纹理

Name Type Description
options object

入参对象

Name Type Default Description
image String optional

图片

rate Number 1 optional

速率

imgLength Number 16 optional

每段图片的长度

alpha Number 1 optional

透明度

isTranslucent boolean true optional
Example:
let lon = 104;
  let lat = 30;
  viewer.entities.add({
    polyline: {
      positions: Cesium.Cartesian3.fromDegreesArrayHeights([
        lon - 0.2+1, lat, 0.0,
        lon + 0.2+1, lat, 0.0,
      ]),
      width: 20.0,
      material: new GisEye.GisEyeFlowingImagePolylineMaterialProperty({
        image: './image/jianbian.png',
        rate: 1,
        imgLength: 16,
        alpha:1,
        isTranslucent:true
      })
    }
  });