GeoEntityEffectExtend

new Cesium.GeoEntityEffectExtend()

扩展动作特效,继承自GeoEntityEffect

Extends

Methods

staticCesium.GeoEntityEffectExtend.addExtendCallBack(callBack, options)

添加扩展动作回调函数
Name Type Description
callBack function 回调函数
options Object 回调函数传递的参数对象

staticCesium.GeoEntityEffectExtend.removeExtendCallBack(callBack)

移除扩展动作回调函数
Name Type Description
callBack function 回调函数

addEffectToScene(scene)

添加特效到场景
Name Type Description
scene scene 场景
Inherited From:

clone()

克隆(子类需重写)
Returns:
返回克隆对象
Inherited From:

destroy()

释放资源
Inherited From:

fromJSON(geoEntityEffectExtendJson)

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

getGeoEntity()GeoEntity

获取特效绑定的地理实体
Returns:
地理实体
Inherited From:

getName()String

获取扩展动作名称
Returns:
名称

getOffset()PlotPoint3D

获取偏移百分比(相对于实体自身大小)
Returns:
xyz方向上的偏移百分比
Inherited From:

getParam()String

获取扩展动作参数
Returns:
参数JSON字符串

getType()GeoEntityEffectType

获取特效类型
Returns:
特效类型
Inherited From:

getUUID()String

获取特效UUID(唯一标识)
Returns:
UUID
Inherited From:

isChangeSizeFlowModel()Boolean

获取特效是否跟随模型缩放改变
Returns:
否跟随模型缩放改变
Inherited From:

isVisible()Boolean

获取特效显隐
Returns:
显隐
Inherited From:

removeEffectFromScene(scene)

从场景中移除特效
Name Type Description
scene scene 场景
Inherited From:

setChangeSizeFlowModel(bChange)

设置特效是否跟随模型缩放改变
Name Type Description
bChange Boolean 否跟随模型缩放改变
Inherited From:

setGeoEntity(geoEntity)

设置特效绑定的地理实体
Name Type Description
geoEntity GeoEntity 地理实体
Inherited From:

setGeoEntityParameter(geoEntityParameter, linkGeoEntityUuid)

设置特效属性(子类需重写)
Name Type Description
geoEntityParameter GeoEntityParameter 地理实体参数类
linkGeoEntityUuid String optional 链接的另一个实体的UUID(如果未绑定可以不设置)
Inherited From:

setName(name)

设置扩展动作名称
Name Type Description
name String 名称

setOffset(pntOffset)

设置偏移百分比(相对于实体自身大小)
Name Type Description
pntOffset PlotPoint3D xyz方向上的偏移百分比
Inherited From:

setParam(param)

设置扩展动作参数
Name Type Description
param String 参数JSON字符串

setVisible(visible)

设置特效显隐
Name Type Description
visible Boolean 显隐
Inherited From:

toJSON()String

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