- 首页
- 相关页面
- 模块
- 命名空间
- 类
- 文件
-
)
- 命名空间列表
- 命名空间成员
全部) 类) 命名空间) 文件) 函数) 变量) 类型定义) 枚举) 枚举值) 属性) 友元) 宏定义) 组) 页)
类 | 类型定义 | 枚举 | 函数 | 变量
cocostudio 命名空间参考
## 枚举
|
enum | FrameType {
kKeyframeMove = 0, kKeyframeScale, kKeyframeRotate, kKeyframeTint,
kKeyframeFade, kKeyframeMax
} |
|
enum | FrameEaseType {
Custom = -1, LINERAR = 0, 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
} |
|
enum | FrameEasingType {
kframeEasingInstant, kframeEasingLinear, kframeEasingCubicIn, kframeEasingCubicOut,
kframeEasingCubicInOut, kframeEasingElasticIn, kframeEasingElasticOut, kframeEasingElasticInOut,
kframeEasingBounceIn, kframeEasingBounceOut, kframeEasingBounceInOut, kframeEasingBackIn,
kframeEasingBackOut, kframeEasingBackInOut
} |
|
enum | MovementEventType { START, COMPLETE, LOOP_COMPLETE } |
|
enum | DisplayType { CS_DISPLAY_SPRITE, CS_DISPLAY_ARMATURE, CS_DISPLAY_PARTICLE, CS_DISPLAY_MAX } |
| DisplayType distinguish which type your display is. 更多…
|
|
enum | BlendType {
BLEND_NORMAL, BLEND_LAYER, BLEND_DARKEN, BLEND_MULTIPLY,
BLEND_LIGHTEN, BLEND_SCREEN, BLEND_OVERLAY, BLEND_HARD_LIGHT,
BLEND_ADD, BLEND_SUBSTRACT, BLEND_DIFFERENCE, BLEND_INVERT,
BLEND_ALPHA, BLEND_ERASE
} |
|
enum | AnimationType {
SINGLE_FRAME = -4, ANIMATION_NO_LOOP, ANIMATION_TO_LOOP_FRONT, ANIMATION_TO_LOOP_BACK,
ANIMATION_LOOP_FRONT, ANIMATION_LOOP_BACK, ANIMATION_MAX
} |
|
## 函数
|
const char | armatureVersion () |
|
bool | isSpriteContainPoint (cocos2d::Sprite sprite, cocos2d::Vec2 point) |
| 点击测试函数 更多…
|
|
bool | isSpriteContainPoint (cocos2d::Sprite *sprite, cocos2d::Vec2 point, cocos2d::Vec2 &outPoint) |
|
cocos2d::Vec2 | bezierTo (float t, cocos2d::Vec2 &point1, cocos2d::Vec2 &point2, cocos2d::Vec2 &point3) |
| 移动函数 更多…
|
|
cocos2d::Vec2 | bezierTo (float t, cocos2d::Vec2 &point1, cocos2d::Vec2 &point2, cocos2d::Vec2 &point3, cocos2d::Vec2 &point4) |
|
cocos2d::Vec2 | circleTo (float t, cocos2d::Vec2 ¢er, float radius, float fromRadian, float radianDif) |
|
类型定义说明
typedef void(cocos2d::Ref:: SEL_FrameEventCallFunc)(Bone , const std::string &, int, int) |
typedef void(cocos2d::Ref:: SEL_ParseEvent)(const std::string &, cocos2d::Ref , const rapidjson::Value &) |
枚举类型说明
枚举值 |
---|
SINGLE_FRAME | |
ANIMATION_NO_LOOP |
动画只有一帧
|
ANIMATION_TO_LOOP_FRONT |
动画不循环
|
ANIMATION_TO_LOOP_BACK |
动画往前循环
|
ANIMATION_LOOP_FRONT |
动画往后循环
|
ANIMATION_LOOP_BACK |
动画从前循环
|
ANIMATION_MAX |
动画从后循环
|
枚举值 |
---|
BLEND_NORMAL | |
BLEND_LAYER | |
BLEND_DARKEN | |
BLEND_MULTIPLY | |
BLEND_LIGHTEN | |
BLEND_SCREEN | |
BLEND_OVERLAY | |
BLEND_HARD_LIGHT | |
BLEND_ADD | |
BLEND_SUBSTRACT | |
BLEND_DIFFERENCE | |
BLEND_INVERT | |
BLEND_ALPHA | |
BLEND_ERASE | |
DisplayType distinguish which type your display is.
枚举值 |
---|
CS_DISPLAY_SPRITE | |
CS_DISPLAY_ARMATURE |
display is a single Sprite
|
CS_DISPLAY_PARTICLE |
display is a Armature
|
CS_DISPLAY_MAX |
display is a CCParticle.
|
枚举值 |
---|
Custom | |
LINERAR | |
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 | |
枚举值 |
---|
kframeEasingInstant | |
kframeEasingLinear | |
kframeEasingCubicIn | |
kframeEasingCubicOut | |
kframeEasingCubicInOut | |
kframeEasingElasticIn | |
kframeEasingElasticOut | |
kframeEasingElasticInOut | |
kframeEasingBounceIn | |
kframeEasingBounceOut | |
kframeEasingBounceInOut | |
kframeEasingBackIn | |
kframeEasingBackOut | |
kframeEasingBackInOut | |
枚举值 |
---|
kKeyframeMove | |
kKeyframeScale | |
kKeyframeRotate | |
kKeyframeTint | |
kKeyframeFade | |
kKeyframeMax | |
枚举值 |
---|
START | |
COMPLETE | |
LOOP_COMPLETE | |
函数说明
const char* cocostudio::armatureVersion | ( | | ) | |
cocos2d::Vec2 cocostudio::bezierTo | ( | float | t, |
| | cocos2d::Vec2 & | point1, |
| | cocos2d::Vec2 & | point2, |
| | cocos2d::Vec2 & | point3 |
| ) | | |
移动函数
cocos2d::Vec2 cocostudio::bezierTo | ( | float | t, |
| | cocos2d::Vec2 & | point1, |
| | cocos2d::Vec2 & | point2, |
| | cocos2d::Vec2 & | point3, |
| | cocos2d::Vec2 & | point4 |
| ) | | |
cocos2d::Vec2 cocostudio::circleTo | ( | float | t, |
| | cocos2d::Vec2 & | center, |
| | float | radius, |
| | float | fromRadian, |
| | float | radianDif |
| ) | | |
bool cocostudio::isSpriteContainPoint | ( | cocos2d::Sprite * | sprite, |
| | cocos2d::Vec2 | point |
| ) | | |
点击测试函数
bool cocostudio::isSpriteContainPoint | ( | cocos2d::Sprite * | sprite, |
| | cocos2d::Vec2 | point, |
| | cocos2d::Vec2 & | outPoint |
| ) | | |
变量说明
- cocostudio
- 生成于 2014年 五月 29日 星期四 09:41:59 , 为 cocos2d-x使用 1.8.6