Class: CameraShooting

Glodon.CIMCube.Animation.Effect. CameraShooting

摄像机扫描效果

new CameraShooting(map, opt)

摄像机扫描效果
Parameters:
Name Type Description
map Glodon.CIMCube CIMCube实例
opt Object 摄像机扫描参数
Properties
Name Type Description
emitPosition Object 光源|信号源{lon,lat,height}
lightPosition Object 目标点 {lon,lat,height}
lightBeamAlpha number 光束透明度
lightAlpha number 地面光透明度
borderAlpha number 描边透明度,默认为1.0
width number 地面光宽度,默认50米
color number 光颜色

Methods


dispose()

释放资源

hide()

隐藏

playPathAnimation(list, loopAnimation)

摄像头摆动动画
Parameters:
Name Type Default Description
list Array 摄像机轨迹数据 {timeStamp,lightPosition,width}
loopAnimation Boolean true 动画是否循环,默认为true

show()

显示