GeoEntityEffectFiresmoke

燃烧特效,继承自GeoEntityEffect

new Cesium.GeoEntityEffectFiresmoke(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 特效绑定的地理实体对象
firesmokeDiameter Number 50.0 optional 底面直径(单位:米)

Methods

克隆
Returns:
返回克隆对象

fromJSON(jsonObj)

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

getFiresmokeDiameter()Number

获取特效底面直径
Returns:
底面直径

setFiresmokeDiameter(firesmokeDiameter)

设置特效底面直径
Name Type Description
firesmokeDiameter Number 底面直径

setGeoEntityParameter(geoEntityParameter, linkGeoEntityUuid)

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

toJSON()String

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