GeoLineFireEffect

new Cesium.GeoLineFireEffect(options)

线状火效果
Name Type Description
options Object 参数选项:
Name Type Description
url String 主纹理
urlTop String 上部辅助纹理
explode Number 爆炸率
viewer Viewer
scale Number 缩放
smoking Number 烟浓度
life Number 周期
speed Number 速度
count Number 初始数量
radius Number 半径
grow Number 增长
positions Array 初始点数组
Example:
var fireEffect = new Cesium.GeoLineFireEffect({
  viewer: viewer,
  url: '/geomap-api/JsCesuimDemo/resource/images/fire1.png',
  urlTop: '/geomap-api/JsCesuimDemo/resource/images/fire.jpg',
  explode: 0.01,
  smoking: 0.1,
  scale: 0.8,
  life: 1.1,
  speed: 1.0,
  positions: [[108.959494, 34.219774, 469.046961]]
});

viewer.scene.primitives.add(fireEffect);
Demo: