Class: Radar

Glodon.CIMCube.Animation.Effect. Radar

雷达扫描

new Radar(map, opt)

雷达扫描
Parameters:
Name Type Description
map Glodon.CIMCube CIMCube实例
opt Object 雷达扫描参数
Properties
Name Type Description
offset Object 偏移距离,对象内属性 x,y
Properties
Name Type Description
x Number 偏移距离
y Number 偏移距离
centerPosition Object 中心点,光源|信号源
originPosition.lon Number 经度
originPosition.lat Number 纬度
originPosition.height Number 高度
slices number 光照面数,默认12(360能整除)
lightBeamAlpha number 光束透明度
lightCirqueAlpha number 圆环透明度
cirqueRadius number 圆环半径,默认50米
floorLevel number 地表高度
color number 光颜色
image String 通过读取图片的内容显示雷达光束效果,不使用光颜色(底盘的颜色继续使用光颜色)

Methods


dispose()

释放资源

hide()

隐藏

show()

显示