GeoEntityEffectBurst

爆炸特效,继承自GeoEntityEffect

new Cesium.GeoEntityEffectBurst(options)

Name Type Description
options Object optional 对象具有以下属性:
Name Type Default Description
visible Boolean true optional 特效显隐
pntOffset PlotPoint3D new PlotPoint3D(0, 0, 0.5) optional 特效偏移量
bChangeSizeFlowModel Boolean true optional 是否随实体缩放发生变化
geoEntity GeoEntity null optional 特效绑定的地理实体对象
burstDiameter Number 50.0 optional 底面直径(单位:米)

Methods

克隆
Returns:
返回克隆对象

fromJSON(jsonObj)

Json字符串转对象
Name Type Description
jsonObj String Json字符串

getBurstDiameter()Number

获取特效底面直径(单位: 米)
Returns:
底面直径

setBurstDiameter(burstDiameter)

设置特效底面直径(单位: 米)
Name Type Description
burstDiameter Number 底面直径

setGeoEntityParameter(geoEntityParameter, linkGeoEntityUuid)

设置特效属性
Name Type Description
geoEntityParameter GeoEntityParameter optional 地理实体参数类
linkGeoEntityUuid String 实体的UUID

toJSON()String

对象转Json字符串
Returns:
Json字符串