首页 / 浏览问题 / 三维GIS / 问题详情
关于GOAnimationManagerAPI的问题
48EXP 2019年12月18日
您好:

   我使用的是webgl

我想问下 API文档中GOAnimationManager 的一个问题 :

       GOAnimationManager .execute()  方法 跟GOAnimationManager.play() 方法具体有什么区别。

我在态势推演中看到有这么一段代码:

window.setInterval(function execute() {

                animationManager.execute();

                }, 100);

这里为什么要设置个定时器    去不停的调用execute

1个回答

execute定时器的意义是每一秒播放一次动画,play是播放所有的动画
6,215EXP 2019年12月19日
...