Class: Dynamic

Glodon.CIMCube.Animation.PlaneEffect. Dynamic

动态面

new Dynamic(map, opt)

动态面
Parameters:
Name Type Description
map Glodon.CIMCube CIMCube实例
opt Object 动态面参数
Properties
Name Type Description
pathList Array 路径{lon,lat,height}
imageUrl String 图片路径
color Color 颜色;设置颜色场合,就不会使用图片中的颜色,只使用图片的透明度;设置为白色场合,相当于没有传递颜色
duration Number 动画时长;
direction number 动画方向;

Methods


dispose()

释放资源

hide()

隐藏动态面

show()

显示动态面

updateOption(opt)

更新参数
Parameters:
Name Type Description
opt Object 动态面参数
Properties
Name Type Description
imageUrl String 图片路径
color Color 颜色;设置颜色场合,就不会使用图片中的颜色,只使用图片的透明度;设置为白色场合,相当于没有传递颜色
duration Number 动画时长;
direction number 动画方向;