- 首页
- 相关页面
- 模块
- 命名空间
- 类
- 文件
-
)
- 命名空间列表
- 命名空间成员
全部) 类) 命名空间) 文件) 函数) 变量) 类型定义) 枚举) 枚举值) 属性) 友元) 宏定义) 组) 页)
枚举 | 函数
cocos2d::tweenfunc 命名空间参考
## 枚举
|
enum | TweenType {
CUSTOM_EASING = -1, Linear, Sine_EaseIn, Sine_EaseOut,
Sine_EaseInOut, Quad_EaseIn, Quad_EaseOut, Quad_EaseInOut,
Cubic_EaseIn, Cubic_EaseOut, Cubic_EaseInOut, Quart_EaseIn,
Quart_EaseOut, Quart_EaseInOut, Quint_EaseIn, Quint_EaseOut,
Quint_EaseInOut, Expo_EaseIn, Expo_EaseOut, Expo_EaseInOut,
Circ_EaseIn, Circ_EaseOut, Circ_EaseInOut, Elastic_EaseIn,
Elastic_EaseOut, Elastic_EaseInOut, Back_EaseIn, Back_EaseOut,
Back_EaseInOut, Bounce_EaseIn, Bounce_EaseOut, Bounce_EaseInOut,
TWEEN_EASING_MAX = 10000
} |
|
## 函数
|
float | easeIn (float time, float rate) |
|
float | easeOut (float time, float rate) |
|
float | easeInOut (float time, float rate) |
|
float | bezieratFunction (float a, float b, float c, float d, float t) |
|
float | quadraticIn (float time) |
|
float | quadraticOut (float time) |
|
float | quadraticInOut (float time) |
|
float | tweenTo (float time, TweenType type, float easingParam) |
|
float | linear (float time) |
|
float | sineEaseIn (float time) |
|
float | sineEaseOut (float time) |
|
float | sineEaseInOut (float time) |
|
float | quadEaseIn (float time) |
|
float | quadEaseOut (float time) |
|
float | quadEaseInOut (float time) |
|
float | cubicEaseIn (float time) |
|
float | cubicEaseOut (float time) |
|
float | cubicEaseInOut (float time) |
|
float | quartEaseIn (float time) |
|
float | quartEaseOut (float time) |
|
float | quartEaseInOut (float time) |
|
float | quintEaseIn (float time) |
|
float | quintEaseOut (float time) |
|
float | quintEaseInOut (float time) |
|
float | expoEaseIn (float time) |
|
float | expoEaseOut (float time) |
|
float | expoEaseInOut (float time) |
|
float | circEaseIn (float time) |
|
float | circEaseOut (float time) |
|
float | circEaseInOut (float time) |
|
float | elasticEaseIn (float time, float period) |
|
float | elasticEaseOut (float time, float period) |
|
float | elasticEaseInOut (float time, float period) |
|
float | backEaseIn (float time) |
|
float | backEaseOut (float time) |
|
float | backEaseInOut (float time) |
|
float | bounceEaseIn (float time) |
|
float | bounceEaseOut (float time) |
|
float | bounceEaseInOut (float time) |
|
float | customEase (float time, float easingParam) |
|
枚举类型说明
枚举值 |
---|
CUSTOM_EASING | |
Linear | |
Sine_EaseIn | |
Sine_EaseOut | |
Sine_EaseInOut | |
Quad_EaseIn | |
Quad_EaseOut | |
Quad_EaseInOut | |
Cubic_EaseIn | |
Cubic_EaseOut | |
Cubic_EaseInOut | |
Quart_EaseIn | |
Quart_EaseOut | |
Quart_EaseInOut | |
Quint_EaseIn | |
Quint_EaseOut | |
Quint_EaseInOut | |
Expo_EaseIn | |
Expo_EaseOut | |
Expo_EaseInOut | |
Circ_EaseIn | |
Circ_EaseOut | |
Circ_EaseInOut | |
Elastic_EaseIn | |
Elastic_EaseOut | |
Elastic_EaseInOut | |
Back_EaseIn | |
Back_EaseOut | |
Back_EaseInOut | |
Bounce_EaseIn | |
Bounce_EaseOut | |
Bounce_EaseInOut | |
TWEEN_EASING_MAX | |
函数说明
float cocos2d::tweenfunc::backEaseIn | ( | float | time | ) | |
float cocos2d::tweenfunc::backEaseInOut | ( | float | time | ) | |
float cocos2d::tweenfunc::backEaseOut | ( | float | time | ) | |
float cocos2d::tweenfunc::bezieratFunction | ( | float | a, |
| | float | b, |
| | float | c, |
| | float | d, |
| | float | t |
| ) | | |
float cocos2d::tweenfunc::bounceEaseIn | ( | float | time | ) | |
float cocos2d::tweenfunc::bounceEaseInOut | ( | float | time | ) | |
float cocos2d::tweenfunc::bounceEaseOut | ( | float | time | ) | |
float cocos2d::tweenfunc::circEaseIn | ( | float | time | ) | |
float cocos2d::tweenfunc::circEaseInOut | ( | float | time | ) | |
float cocos2d::tweenfunc::circEaseOut | ( | float | time | ) | |
float cocos2d::tweenfunc::cubicEaseIn | ( | float | time | ) | |
float cocos2d::tweenfunc::cubicEaseInOut | ( | float | time | ) | |
float cocos2d::tweenfunc::cubicEaseOut | ( | float | time | ) | |
float cocos2d::tweenfunc::customEase | ( | float | time, |
| | float * | easingParam |
| ) | | |
float cocos2d::tweenfunc::easeIn | ( | float | time, |
| | float | rate |
| ) | | |
float cocos2d::tweenfunc::easeInOut | ( | float | time, |
| | float | rate |
| ) | | |
float cocos2d::tweenfunc::easeOut | ( | float | time, |
| | float | rate |
| ) | | |
float cocos2d::tweenfunc::elasticEaseIn | ( | float | time, |
| | float | period |
| ) | | |
float cocos2d::tweenfunc::elasticEaseInOut | ( | float | time, |
| | float | period |
| ) | | |
float cocos2d::tweenfunc::elasticEaseOut | ( | float | time, |
| | float | period |
| ) | | |
float cocos2d::tweenfunc::expoEaseIn | ( | float | time | ) | |
float cocos2d::tweenfunc::expoEaseInOut | ( | float | time | ) | |
float cocos2d::tweenfunc::expoEaseOut | ( | float | time | ) | |
float cocos2d::tweenfunc::linear | ( | float | time | ) | |
float cocos2d::tweenfunc::quadEaseIn | ( | float | time | ) | |
float cocos2d::tweenfunc::quadEaseInOut | ( | float | time | ) | |
float cocos2d::tweenfunc::quadEaseOut | ( | float | time | ) | |
float cocos2d::tweenfunc::quadraticIn | ( | float | time | ) | |
float cocos2d::tweenfunc::quadraticInOut | ( | float | time | ) | |
float cocos2d::tweenfunc::quadraticOut | ( | float | time | ) | |
float cocos2d::tweenfunc::quartEaseIn | ( | float | time | ) | |
float cocos2d::tweenfunc::quartEaseInOut | ( | float | time | ) | |
float cocos2d::tweenfunc::quartEaseOut | ( | float | time | ) | |
float cocos2d::tweenfunc::quintEaseIn | ( | float | time | ) | |
float cocos2d::tweenfunc::quintEaseInOut | ( | float | time | ) | |
float cocos2d::tweenfunc::quintEaseOut | ( | float | time | ) | |
float cocos2d::tweenfunc::sineEaseIn | ( | float | time | ) | |
float cocos2d::tweenfunc::sineEaseInOut | ( | float | time | ) | |
float cocos2d::tweenfunc::sineEaseOut | ( | float | time | ) | |
float cocos2d::tweenfunc::tweenTo | ( | float | time, |
| | TweenType | type, |
| | float * | easingParam |
| ) | | |