cocos2d-x  3.0-rc0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
cocos2d::tweenfunc Namespace Reference

Enumerations

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
}
 

Functions

float  (float time, float rate)
float  (float time, float rate)
float  (float time, float rate)
float  (float a, float b, float c, float d, float t)
local  ( local a, local b, local c, local d, local t)
float  (float time)
float  (float time)
float  (float time)
float  (float time, TweenType type, float *easingParam)
float  (float time)
float  (float time)
float  (float time)
float  (float time)
float  (float time)
float  (float time)
float  (float time)
float  (float time)
float  (float time)
float  (float time)
float  (float time)
float  (float time)
float  (float time)
float  (float time)
float  (float time)
float  (float time)
float  (float time)
float  (float time)
float  (float time)
float  (float time)
float  (float time)
float  (float time)
float  (float time, float period)
local  ( local time, local period)
float  (float time, float period)
float  (float time, float period)
local  ( local time, local period)
float  (float time)
float  (float time)
float  (float time)
float  (float time)
float  (float time)
float  (float time)
float  (float time, float *easingParam)

Enumeration Type Documentation

enum TweenType
Enumerator
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 
var TweenType
Enumerator
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 
local TweenType
Enumerator
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 

Function Documentation

float cocos2d::tweenfunc::easeIn ( float  time,
float  rate 
)
var easeIn ( var  time,
var  rate 
)
local easeIn ( local  time,
local  rate 
)
float cocos2d::tweenfunc::easeOut ( float  time,
float  rate 
)
var easeOut ( var  time,
var  rate 
)
local easeOut ( local  time,
local  rate 
)
float cocos2d::tweenfunc::easeInOut ( float  time,
float  rate 
)
var easeInOut ( var  time,
var  rate 
)
local easeInOut ( local  time,
local  rate 
)
float
cocos2d::tweenfunc::bezieratFunction
( float  a,
float  b,
float  c,
float  d,
float  t 
)
var bezieratFunction ( var  a,
var  b,
var  c,
var  d,
var  t 
)
local bezieratFunction ( local  a,
local  b,
local  c,
local  d,
local  t 
)
float
cocos2d::tweenfunc::quadraticIn
( float  time)
var quadraticIn ( var  time)
local quadraticIn ( local  time)
float
cocos2d::tweenfunc::quadraticOut
( float  time)
var quadraticOut ( var  time)
local quadraticOut ( local  time)
float
cocos2d::tweenfunc::quadraticInOut
( float  time)
var quadraticInOut ( var  time)
local quadraticInOut ( local  time)
float cocos2d::tweenfunc::tweenTo ( float  time,
TweenType  type,
float *  easingParam 
)
var tweenTo ( var  time,
var  type,
var  easingParam 
)
local tweenTo ( local  time,
local  type,
local  easingParam 
)
float cocos2d::tweenfunc::linear ( float  time)
var linear ( var  time)
local linear ( local  time)
float
cocos2d::tweenfunc::sineEaseIn
( float  time)
var sineEaseIn ( var  time)
local sineEaseIn ( local  time)
float
cocos2d::tweenfunc::sineEaseOut
( float  time)
var sineEaseOut ( var  time)
local sineEaseOut ( local  time)
float
cocos2d::tweenfunc::sineEaseInOut
( float  time)
var sineEaseInOut ( var  time)
local sineEaseInOut ( local  time)
float
cocos2d::tweenfunc::quadEaseIn
( float  time)
var quadEaseIn ( var  time)
local quadEaseIn ( local  time)
float
cocos2d::tweenfunc::quadEaseOut
( float  time)
var quadEaseOut ( var  time)
local quadEaseOut ( local  time)
float
cocos2d::tweenfunc::quadEaseInOut
( float  time)
var quadEaseInOut ( var  time)
local quadEaseInOut ( local  time)
float
cocos2d::tweenfunc::cubicEaseIn
( float  time)
var cubicEaseIn ( var  time)
local cubicEaseIn ( local  time)
float
cocos2d::tweenfunc::cubicEaseOut
( float  time)
var cubicEaseOut ( var  time)
local cubicEaseOut ( local  time)
float
cocos2d::tweenfunc::cubicEaseInOut
( float  time)
var cubicEaseInOut ( var  time)
local cubicEaseInOut ( local  time)
float
cocos2d::tweenfunc::quartEaseIn
( float  time)
var quartEaseIn ( var  time)
local quartEaseIn ( local  time)
float
cocos2d::tweenfunc::quartEaseOut
( float  time)
var quartEaseOut ( var  time)
local quartEaseOut ( local  time)
float
cocos2d::tweenfunc::quartEaseInOut
( float  time)
var quartEaseInOut ( var  time)
local quartEaseInOut ( local  time)
float
cocos2d::tweenfunc::quintEaseIn
( float  time)
var quintEaseIn ( var  time)
local quintEaseIn ( local  time)
float
cocos2d::tweenfunc::quintEaseOut
( float  time)
var quintEaseOut ( var  time)
local quintEaseOut ( local  time)
float
cocos2d::tweenfunc::quintEaseInOut
( float  time)
var quintEaseInOut ( var  time)
local quintEaseInOut ( local  time)
float
cocos2d::tweenfunc::expoEaseIn
( float  time)
var expoEaseIn ( var  time)
local expoEaseIn ( local  time)
float
cocos2d::tweenfunc::expoEaseOut
( float  time)
var expoEaseOut ( var  time)
local expoEaseOut ( local  time)
float
cocos2d::tweenfunc::expoEaseInOut
( float  time)
var expoEaseInOut ( var  time)
local expoEaseInOut ( local  time)
float
cocos2d::tweenfunc::circEaseIn
( float  time)
var circEaseIn ( var  time)
local circEaseIn ( local  time)
float
cocos2d::tweenfunc::circEaseOut
( float  time)
var circEaseOut ( var  time)
local circEaseOut ( local  time)
float
cocos2d::tweenfunc::circEaseInOut
( float  time)
var circEaseInOut ( var  time)
local circEaseInOut ( local  time)
float
cocos2d::tweenfunc::elasticEaseIn
( float  time,
float  period 
)
var elasticEaseIn ( var  time,
var  period 
)
local elasticEaseIn ( local  time,
local  period 
)
float
cocos2d::tweenfunc::elasticEaseOut
( float  time,
float  period 
)
var elasticEaseOut ( var  time,
var  period 
)
local elasticEaseOut ( local  time,
local  period 
)
float
cocos2d::tweenfunc::elasticEaseInOut
( float  time,
float  period 
)
var elasticEaseInOut ( var  time,
var  period 
)
local elasticEaseInOut ( local  time,
local  period 
)
float
cocos2d::tweenfunc::backEaseIn
( float  time)
var backEaseIn ( var  time)
local backEaseIn ( local  time)
float
cocos2d::tweenfunc::backEaseOut
( float  time)
var backEaseOut ( var  time)
local backEaseOut ( local  time)
float
cocos2d::tweenfunc::backEaseInOut
( float  time)
var backEaseInOut ( var  time)
local backEaseInOut ( local  time)
float
cocos2d::tweenfunc::bounceEaseIn
( float  time)
var bounceEaseIn ( var  time)
local bounceEaseIn ( local  time)
float
cocos2d::tweenfunc::bounceEaseOut
( float  time)
var bounceEaseOut ( var  time)
local bounceEaseOut ( local  time)
float
cocos2d::tweenfunc::bounceEaseInOut
( float  time)
var bounceEaseInOut ( var  time)
local bounceEaseInOut ( local  time)
float
cocos2d::tweenfunc::customEase
( float  time,
float *  easingParam 
)
var customEase ( var  time,
var  easingParam 
)
local customEase ( local  time,
local  easingParam 
)