cocos2d-x 3.0
- 首页 - 相关页面 - 模块 - 命名空间 - - 文件 -
类 - 图1 类 - 图2)
- 命名空间列表 - 命名空间成员

全部)) 命名空间) 文件) 函数) 变量) 类型定义) 枚举) 枚举值) 属性) 友元) 宏定义)))

| 类型定义 | 枚举 | 函数 | 变量

cocostudio 命名空间参考

##
class ActionFadeFrame
NA NA 更多…
class ActionFrame
NA NA 更多…
class ActionFrameEasing
NA NA 更多…
class ActionManagerEx
class ActionMoveFrame
NA NA 更多…
class ActionNode
NA NA 更多…
class ActionObject
NA NA 更多…
class ActionRotationFrame
NA NA 更多…
class ActionScaleFrame
NA NA 更多…
class ActionTintFrame
NA NA 更多…
class AnimationData
AnimationData include all movement infomation for the Armature The struct is AnimationData -> MovementData -> MovementBoneData -> FrameData -> MovementFrameData NA NA. 更多…
class Armature
class ArmatureAnimation
class ArmatureData
ArmatureData saved the Armature name and Bonedata needed for the CCBones in this Armature When we create a Armature, we need to get each Bone's BoneData as it's init information. 更多…
class ArmatureDataManager
格式化和管理骨骼动画的配置和骨骼动画 更多…
class ArmatureDisplayData
NA NA 更多…
class ArmatureMovementDispatcher
class BaseData
The base node include a lot of attributes. 更多…
class BaseTriggerAction
class BaseTriggerCondition
class BatchNode
class Bone
class BoneData
BoneData used to init a Bone. 更多…
class ButtonReader
class CheckBoxReader
class ColliderBody
class ColliderDetector
class ColliderFilter
NA NA 更多…
class ComAttribute
class ComAudio
class ComController
class ComRender
class ContourData
class DataReaderHelper
NA NA 更多…
class DecorativeDisplay
NA NA 更多…
class DictionaryHelper
NA NA 更多…
class DisplayData
NA NA 更多…
class DisplayFactory
NA NA 更多…
class DisplayManager
! DisplayManager管理骨骼(Bone)的显示 NA NA 更多…
class FrameData
NA NA 更多…
struct FrameEvent
class GUIReader
class ImageViewReader
class InputDelegate
NA 更多…
class LayoutReader
class ListViewReader
class LoadingBarReader
class MovementBoneData
NA NA 更多…
class MovementData
NA NA 更多…
struct MovementEvent
class ObjectFactory
class PageViewReader
class ParticleDisplayData
NA NA 更多…
class ProcessBase
NA NA 更多…
struct RelativeData
class SceneReader
class ScrollViewReader
class Skin
class SliderReader
class SpriteDisplayData
NA NA 更多…
class SpriteFrameCacheHelper
NA NA 更多…
class TextAtlasReader
class TextBMFontReader
class TextFieldReader
class TextReader
class TextureData
class TransformHelp
class TriggerMng
class TriggerObj
class Tween
NA NA 更多…
class WidgetPropertiesReader
class WidgetPropertiesReader0250
class WidgetPropertiesReader0300
class WidgetReader
class WidgetReaderProtocol
## 类型定义
typedef void(cocos2d::Ref:: SEL_MovementEventCallFunc )(Armature , MovementEventType, const std::string &)
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 &)
## 枚举
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 &center, float radius, float fromRadian, float radianDif)
## 变量
CC_DEPRECATED_ATTRIBUTE typedef ProcessBase CCProcessBase
CC_DEPRECATED_ATTRIBUTE typedef BaseData CCBaseData
CC_DEPRECATED_ATTRIBUTE typedef DisplayData CCDisplayData
CC_DEPRECATED_ATTRIBUTE typedef SpriteDisplayData CCSpriteDisplayData
CC_DEPRECATED_ATTRIBUTE typedef ArmatureDisplayData CCArmatureDisplayData
CC_DEPRECATED_ATTRIBUTE typedef ParticleDisplayData CCParticleDisplayData
CC_DEPRECATED_ATTRIBUTE typedef BoneData CCBoneData
CC_DEPRECATED_ATTRIBUTE typedef FrameData CCFrameData
CC_DEPRECATED_ATTRIBUTE typedef MovementBoneData CCMovementBoneData
CC_DEPRECATED_ATTRIBUTE typedef MovementData CCMovementData
CC_DEPRECATED_ATTRIBUTE typedef AnimationData CCAnimationData
CC_DEPRECATED_ATTRIBUTE typedef ContourData CCContourData
CC_DEPRECATED_ATTRIBUTE typedef TextureData CCTextureData
CC_DEPRECATED_ATTRIBUTE typedef DecorativeDisplay CCDecorativeDisplay
CC_DEPRECATED_ATTRIBUTE typedef DisplayFactory CCDisplayFactory
CC_DEPRECATED_ATTRIBUTE typedef BatchNode CCBatchNode
CC_DEPRECATED_ATTRIBUTE typedef DisplayManager CCDisplayManager
CC_DEPRECATED_ATTRIBUTE typedef ColliderBody CCColliderBody
CC_DEPRECATED_ATTRIBUTE typedef ColliderDetector CCColliderDetector
CC_DEPRECATED_ATTRIBUTE typedef SpriteFrameCacheHelper CCSpriteFrameCacheHelper
CC_DEPRECATED_ATTRIBUTE typedef ArmatureData CCArmatureData
CC_DEPRECATED_ATTRIBUTE typedef Bone CCBone
CC_DEPRECATED_ATTRIBUTE typedef ArmatureAnimation CCArmatureAnimation
CC_DEPRECATED_ATTRIBUTE typedef Armature CCArmature
CC_DEPRECATED_ATTRIBUTE typedef ArmatureDataManager CCArmatureDataManager
CC_DEPRECATED_ATTRIBUTE typedef cocos2d::tweenfunc::TweenType CCTweenType

类型定义说明

typedef void(cocos2d::Ref:: SEL_FrameEventCallFunc)(Bone , const std::string &, int, int)

typedef void(cocos2d::Ref:: SEL_MovementEventCallFunc)(Armature , MovementEventType, const std::string &)

typedef void(cocos2d::Ref:: SEL_ParseEvent)(const std::string &, cocos2d::Ref , const rapidjson::Value &)

枚举类型说明

enum AnimationType
枚举值
SINGLE_FRAME
ANIMATION_NO_LOOP 动画只有一帧
ANIMATION_TO_LOOP_FRONT 动画不循环
ANIMATION_TO_LOOP_BACK 动画往前循环
ANIMATION_LOOP_FRONT 动画往后循环
ANIMATION_LOOP_BACK 动画从前循环
ANIMATION_MAX 动画从后循环

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 DisplayType

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.

enum FrameEaseType

strong

枚举值
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

enum FrameEasingType
枚举值
kframeEasingInstant
kframeEasingLinear
kframeEasingCubicIn
kframeEasingCubicOut
kframeEasingCubicInOut
kframeEasingElasticIn
kframeEasingElasticOut
kframeEasingElasticInOut
kframeEasingBounceIn
kframeEasingBounceOut
kframeEasingBounceInOut
kframeEasingBackIn
kframeEasingBackOut
kframeEasingBackInOut

enum FrameType
枚举值
kKeyframeMove
kKeyframeScale
kKeyframeRotate
kKeyframeTint
kKeyframeFade
kKeyframeMax

enum MovementEventType
枚举值
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
)

变量说明

CC_DEPRECATED_ATTRIBUTE typedef AnimationData CCAnimationData

CC_DEPRECATED_ATTRIBUTE typedef Armature CCArmature

CC_DEPRECATED_ATTRIBUTE typedef ArmatureAnimation CCArmatureAnimation

CC_DEPRECATED_ATTRIBUTE typedef ArmatureData CCArmatureData

CC_DEPRECATED_ATTRIBUTE typedef ArmatureDataManager CCArmatureDataManager

CC_DEPRECATED_ATTRIBUTE typedef ArmatureDisplayData CCArmatureDisplayData

CC_DEPRECATED_ATTRIBUTE typedef BaseData CCBaseData

CC_DEPRECATED_ATTRIBUTE typedef BatchNode CCBatchNode

CC_DEPRECATED_ATTRIBUTE typedef Bone CCBone

CC_DEPRECATED_ATTRIBUTE typedef BoneData CCBoneData

CC_DEPRECATED_ATTRIBUTE typedef ColliderBody CCColliderBody

CC_DEPRECATED_ATTRIBUTE typedef ColliderDetector CCColliderDetector

CC_DEPRECATED_ATTRIBUTE typedef ContourData CCContourData

CC_DEPRECATED_ATTRIBUTE typedef DecorativeDisplay CCDecorativeDisplay

CC_DEPRECATED_ATTRIBUTE typedef DisplayData CCDisplayData

CC_DEPRECATED_ATTRIBUTE typedef DisplayFactory CCDisplayFactory

CC_DEPRECATED_ATTRIBUTE typedef DisplayManager CCDisplayManager

CC_DEPRECATED_ATTRIBUTE typedef FrameData CCFrameData

CC_DEPRECATED_ATTRIBUTE typedef MovementBoneData CCMovementBoneData

CC_DEPRECATED_ATTRIBUTE typedef MovementData CCMovementData

CC_DEPRECATED_ATTRIBUTE typedef ParticleDisplayData CCParticleDisplayData

CC_DEPRECATED_ATTRIBUTE typedef ProcessBase CCProcessBase

CC_DEPRECATED_ATTRIBUTE typedef SpriteDisplayData CCSpriteDisplayData

CC_DEPRECATED_ATTRIBUTE typedef SpriteFrameCacheHelper CCSpriteFrameCacheHelper

CC_DEPRECATED_ATTRIBUTE typedef TextureData CCTextureData

CC_DEPRECATED_ATTRIBUTE typedef cocos2d::tweenfunc::TweenType CCTweenType
  • cocostudio
  • 生成于 2014年 五月 29日 星期四 09:41:59 , 为 cocos2d-x使用 doxygen 1.8.6