麻辣GIS微信平台

更多 GIS 干货

微信关注不错过

Cesium API - EasingFunction 中文文档

本文介绍下Cesium中 EasingFunction API的详细使用说明。

EasingFunction API 调用方法

EasingFunction()
简化了TweenCollection的使用功能。 这些函数来自Tween.js和Robert Penner。 请参考:Tween.js graphs for each function.

成员变量

staticconstantCesium.EasingFunction.BACK_IN : EasingFunction~Callback
Back in.
staticconstantCesium.EasingFunction.BACK_IN_OUT : EasingFunction~Callback
Back in then out.
staticconstantCesium.EasingFunction.BACK_OUT : EasingFunction~Callback
Back out.
staticconstantCesium.EasingFunction.BOUNCE_IN : EasingFunction~Callback
Bounce in.
staticconstantCesium.EasingFunction.BOUNCE_IN_OUT : EasingFunction~Callback
Bounce in then out.
staticconstantCesium.EasingFunction.BOUNCE_OUT : EasingFunction~Callback
Bounce out.
staticconstantCesium.EasingFunction.CIRCULAR_IN : EasingFunction~Callback
Circular in.
staticconstantCesium.EasingFunction.CIRCULAR_IN_OUT : EasingFunction~Callback
Circular in then out.
staticconstantCesium.EasingFunction.CIRCULAR_OUT : EasingFunction~Callback
Circular out.
staticconstantCesium.EasingFunction.CUBIC_IN : EasingFunction~Callback
Cubic in.
staticconstantCesium.EasingFunction.CUBIC_IN_OUT : EasingFunction~Callback
Cubic in then out.
staticconstantCesium.EasingFunction.CUBIC_OUT : EasingFunction~Callback
Cubic out.
staticconstantCesium.EasingFunction.ELASTIC_IN : EasingFunction~Callback
Elastic in.
staticconstantCesium.EasingFunction.ELASTIC_IN_OUT : EasingFunction~Callback
Elastic in then out.
staticconstantCesium.EasingFunction.ELASTIC_OUT : EasingFunction~Callback
Elastic out.
staticconstantCesium.EasingFunction.EXPONENTIAL_IN : EasingFunction~Callback
Exponential in.
staticconstantCesium.EasingFunction.EXPONENTIAL_IN_OUT : EasingFunction~Callback
Exponential in then out.
staticconstantCesium.EasingFunction.EXPONENTIAL_OUT : EasingFunction~Callback
Exponential out.
staticconstantCesium.EasingFunction.LINEAR_NONE : EasingFunction~Callback
Linear easing.
staticconstantCesium.EasingFunction.QUADRACTIC_IN : EasingFunction~Callback
Quadratic in.
staticconstantCesium.EasingFunction.QUADRACTIC_IN_OUT : EasingFunction~Callback
Quadratic in then out.
staticconstantCesium.EasingFunction.QUADRACTIC_OUT : EasingFunction~Callback
Quadratic out.
staticconstantCesium.EasingFunction.QUARTIC_IN : EasingFunction~Callback
Quartic in.
staticconstantCesium.EasingFunction.QUARTIC_IN_OUT : EasingFunction~Callback
Quartic in then out.
staticconstantCesium.EasingFunction.QUARTIC_OUT : EasingFunction~Callback
Quartic out.
staticconstantCesium.EasingFunction.QUINTIC_IN : EasingFunction~Callback
Quintic in.
staticconstantCesium.EasingFunction.QUINTIC_IN_OUT : EasingFunction~Callback
Quintic in then out.
staticconstantCesium.EasingFunction.QUINTIC_OUT : EasingFunction~Callback
Quintic out.
staticconstantCesium.EasingFunction.SINUSOIDAL_IN : EasingFunction~Callback
Sinusoidal in.
staticconstantCesium.EasingFunction.SINUSOIDAL_IN_OUT : EasingFunction~Callback
Sinusoidal in then out.
staticconstantCesium.EasingFunction.SINUSOIDAL_OUT : EasingFunction~Callback
Sinusoidal out.

类型定义

Callback(time)Number
实现自定义简化函数的函数接口。
Name Type Description
time Number 时间范围[0,1]
返回值:
函数在给定时间的值。
示例:
function quadraticIn(time) {
    return time * time;
}
function quadraticOut(time) {
    return time * (2.0 - time);
}

其他API

Cesium中文API文档手册(v1.63.1版本)参考:《Cesium中文API文档手册(v1.63.1版本)

相关阅读

麻辣GIS-Sailor

作者:

GIS爱好者,学GIS,更爱玩GIS。

声明

1.本文所分享的所有需要用户下载使用的内容(包括但不限于软件、数据、图片)来自于网络或者麻辣GIS粉丝自行分享,版权归该下载资源的合法拥有者所有,如有侵权请第一时间联系本站删除。

2.下载内容仅限个人学习使用,请切勿用作商用等其他用途,否则后果自负。

手机阅读
公众号关注
知识星球
手机阅读
麻辣GIS微信公众号关注
最新GIS干货
关注麻辣GIS知识星球
私享圈子

留言板(小编看到第一时间回复)