PlotRadarBase

雷达基类,不需要实例化. 继承自 PlotGeoEffectBase.

new Cesium.PlotRadarBase()

Members

fillColor : Color

填充包络颜色
Default Value: new WebGLPlot.Color(1, 0, 0, 0.5)

id : String

雷达ID
Default Value: uuid

isFill : Boolean

是否显示填充包络
Default Value: true

isOutline : Boolean

是否显示网格线
Default Value: true

isShowScan : Boolean

是否显示扫描瓣
Default Value: true

material : Color

统一设置包络和网格线颜色
Default Value: new WebGLPlot.Color(1, 0, 0, 0.5)

offset : PlotPoint3D

雷达位置偏移
Default Value: PlotPoint3D(0,0,0)

outlineColor : Color

网格线颜色
Default Value: new WebGLPlot.Color(1, 0, 0, 1)

outlineMaterial : Material

网格线材质,与网格线颜色互斥,只能有一个生效
Default Value: undefined

outlineWidth : Number

雷达网格线宽度
Default Value: 0.5

point : PlotPoint3D

雷达位置点
Default Value: PlotPoint3D(0,0,0)

point : PlotPoint3D

雷达位置点
Default Value: PlotPoint3D(0,0,0)

radii : PlotPoint3D

雷达半径
Default Value: new PlotPoint3D(1, 1, 1)

rotate : PlotPoint3D

雷达旋转角度
Default Value: PlotPoint3D(0,0,0)

scale : Number

雷达缩放
Default Value: 1

show : Boolean

是否显示
Default Value: true

slicePartitions : Number

水平切分数
Default Value: 67

stackPartitions : Number

竖直切分数
Default Value: 67

Methods

destroy()

释放资源

fromGeoJson(jsonObj)

Json对象转特效对象
Name Type Description
jsonObj Object

getEffectParameter()Object

获取特效属性
Returns:
特效属性

toGeoJson()Object

特效对象转Json对象
Returns:
Json对象

updateEffect(options)

设置特效属性(子类需重写)
Name Type Description
options Object optional Object with the following properties:
Name Type Description
point PlotPoint3D optional 位置点
rotate PlotPoint3D optional 旋转
scale Number optional 缩放
visible Boolean optional 显隐