AJS4.3 “Using goTo() in a SceneView“例子 bounceBerlin 按钮easing 函数问题

 function customEasing(t) {
          return 1 - Math.abs(Math.sin(-1.7 + t * 4.5 * Math.PI)) * Math.pow(
            0.5, t * 10);
        }

on(dojo.query("#bounceBerlin"), "click", function() {
          view.goTo({
            position: {
              x: 13.40,
              y: 52.52,
              z: 700000,
              spatialReference: {
                wkid: 4326
              }
            },
            heading: 0,
            tilt: 0
          }, {
            speedFactor: 0.3,
            easing: customEasing
          });
        });

 请问customEasing函数的参数t的值是如何赋值的,为什么每次运行时获取的值都是不一样的。


 
已邀请:

要回复问题请先登录注册