Add deprecated global functions and variables here. More...
Namespaces | |
DrawPrimitives | |
experimental | |
extension | |
GL | |
network | |
StringUtils | |
tweenfunc | |
ui | |
utils | |
Classes | |
class | __Array |
class | __Bool |
class | __CCCallFuncND |
Calls a 'callback' with the node as the first argument and the 2nd argument is data ND means: Node and Data. Data is void *, so it could be anything. More... | |
class | __CCCallFuncO |
Calls a 'callback' with an object as the first argument. O means Object. More... | |
class | __Dictionary |
Dictionary is a class like NSDictionary in Obj-C . More... | |
class | __Double |
class | __Float |
class | __Integer |
class | __LayerRGBA |
LayerRGBA is a subclass of Layer that implements the RGBAProtocol protocol using a solid color as the background. More... | |
class | __NodeRGBA |
NodeRGBA is a subclass of Node that implements the RGBAProtocol protocol. More... | |
class | __NotificationCenter |
class | __RGBAProtocol |
RGBA protocol that affects Node's color and opacity. More... | |
class | __Set |
class | __String |
class | AABB |
class | AccelAmplitude |
AccelAmplitude action. More... | |
class | AccelDeccelAmplitude |
AccelDeccelAmplitude action. More... | |
class | Acceleration |
The device accelerometer reports values for each axis in units of g-force. More... | |
class | AccelerometerEvent |
class | Action |
Base class for Action objects. More... | |
class | ActionCamera |
Base class for Camera actions. More... | |
class | ActionEase |
Base class for Easing actions. More... | |
class | ActionInstant |
Instant actions are immediate actions. More... | |
class | ActionInterval |
An interval action is an action that takes place within a certain period of time. More... | |
class | ActionManager |
ActionManager is a singleton that manages all the actions. More... | |
class | ActionTween |
ActionTween. More... | |
class | ActionTweenDelegate |
struct | AffineTransform |
class | AmbientLight |
class | Animate |
Animates a sprite given the name of an Animation. More... | |
class | Animate3D |
Animate3D, Animates a Sprite3D given with an Animation3D. More... | |
class | Animation |
A Animation object is used to perform animations on the Sprite objects. More... | |
class | Animation3D |
static animation data, shared More... | |
class | Animation3DCache |
Animation3D Cache. More... | |
struct | Animation3DData |
animation data More... | |
class | AnimationCache |
Singleton that manages the Animations. More... | |
class | AnimationCurve |
curve of bone's position, rotation or scale More... | |
class | AnimationFrame |
AnimationFrame A frame of the animation. More... | |
struct | AnimationFrameData |
class | Application |
class | ApplicationProtocol |
class | AtlasNode |
AtlasNode is a subclass of Node that implements the RGBAProtocol and TextureProtocol protocol. More... | |
class | AttachNode |
attach a node to a bone usage: auto sprite = Sprite3D::create("girl.c3b"); auto weapon = Sprite3D::create("weapon.c3b"); auto attachNode = sprite->getAttachNode("left hand"); attachNode->addChild(weapon); More... | |
class | AutoreleasePool |
class | BackButtonEvent |
class | BaseLight |
class | BatchCommand |
class | BezierBy |
An action that moves the target with a cubic Bezier curve by a certain distance. More... | |
class | BezierTo |
An action that moves the target with a cubic Bezier curve to a destination point. More... | |
class | BillBoard |
Inherit from Sprite, achieve BillBoard. More... | |
struct | BlendFunc |
Blend Function used for textures. More... | |
class | BlendProtocol |
Specify the blending function according glBlendFunc Please refer to glBlendFunc in OpenGL ES Manual http://www.khronos.org/opengles/sdk/docs/man/xhtml/glBlendFunc.xml for more details. More... | |
class | Blink |
Blinks a Node object by modifying it's visible attribute. More... | |
class | Bone3D |
Defines a basic hierachial structure of transformation spaces. More... | |
class | Bundle3D |
Defines a bundle file that contains a collection of assets. More... | |
class | BundleReader |
BundleReader is an interface for reading sequence of bytes. More... | |
class | CallFunc |
Calls a 'callback'. More... | |
class | CallFuncN |
Calls a 'callback' with the node as the first argument N means Node. More... | |
class | Camera |
Defines a camera . More... | |
class | CardinalSplineBy |
Cardinal Spline path. More... | |
class | CardinalSplineTo |
Cardinal Spline path. More... | |
class | CatmullRomBy |
An action that moves the target with a CatmullRom curve by a certain distance. More... | |
class | CatmullRomTo |
An action that moves the target with a CatmullRom curve to a destination point. More... | |
class | CCFileUtilsWinRT |
Helper class to handle file operations. More... | |
class | CCFreeTypeFont |
class | CCPrecompiledShaders |
struct | CCZHeader |
class | ClippingNode |
ClippingNode is a subclass of Node. More... | |
class | ClippingRectangleNode |
class | Clonable |
Interface that defines how to clone an Ref. More... | |
class | Cocos2dRenderer |
struct | Color3B |
RGB color composed of bytes 3 bytes. More... | |
struct | Color4B |
RGBA color composed of 4 bytes. More... | |
struct | Color4F |
RGBA color composed of 4 floats. More... | |
class | Component |
class | ComponentContainer |
class | Configuration |
Configuration contains some openGL variables. More... | |
class | Console |
Console is helper class that lets the developer control the game from TCP connection. More... | |
class | Controller |
class | CSLoader |
class | CustomCommand |
class | CustomInputEvent |
class | Data |
class | DataVisitor |
Visitor that helps to perform action that depends on polymorphic object type. More... | |
class | DeccelAmplitude |
DeccelAmplitude action. More... | |
class | DelayTime |
Delays the action a certain amount of seconds. More... | |
class | Device |
class | DictElement |
DictElement is used for traversing Dictionary. More... | |
class | DirectionLight |
class | Director |
class | DirectorDelegate |
OpenGL projection protocol. More... | |
class | DisplayLinkDirector |
DisplayLinkDirector is a Director that synchronizes timers with the refresh rate of the display. More... | |
class | DrawNode |
class | EaseBackIn |
EaseBackIn action. More... | |
class | EaseBackInOut |
EaseBackInOut action. More... | |
class | EaseBackOut |
EaseBackOut action. More... | |
class | EaseBezierAction |
Ease Bezier. More... | |
class | EaseBounce |
EaseBounce abstract class. More... | |
class | EaseBounceIn |
EaseBounceIn action. More... | |
class | EaseBounceInOut |
EaseBounceInOut action. More... | |
class | EaseBounceOut |
EaseBounceOut action. More... | |
class | EaseCircleActionIn |
Ease Circle In. More... | |
class | EaseCircleActionInOut |
Ease Circle InOut. More... | |
class | EaseCircleActionOut |
Ease Circle Out. More... | |
class | EaseCubicActionIn |
Ease Cubic In. More... | |
class | EaseCubicActionInOut |
Ease Cubic InOut. More... | |
class | EaseCubicActionOut |
Ease Cubic Out. More... | |
class | EaseElastic |
Ease Elastic abstract class. More... | |
class | EaseElasticIn |
Ease Elastic In action. More... | |
class | EaseElasticInOut |
Ease Elastic InOut action. More... | |
class | EaseElasticOut |
Ease Elastic Out action. More... | |
class | EaseExponentialIn |
Ease Exponential In. More... | |
class | EaseExponentialInOut |
Ease Exponential InOut. More... | |
class | EaseExponentialOut |
Ease Exponential Out. More... | |
class | EaseIn |
EaseIn action with a rate. More... | |
class | EaseInOut |
EaseInOut action with a rate. More... | |
class | EaseOut |
EaseOut action with a rate. More... | |
class | EaseQuadraticActionIn |
Ease Quadratic In. More... | |
class | EaseQuadraticActionInOut |
Ease Quadratic InOut. More... | |
class | EaseQuadraticActionOut |
Ease Quadratic Out. More... | |
class | EaseQuarticActionIn |
Ease Quartic In. More... | |
class | EaseQuarticActionInOut |
Ease Quartic InOut. More... | |
class | EaseQuarticActionOut |
Ease Quartic Out. More... | |
class | EaseQuinticActionIn |
Ease Quintic In. More... | |
class | EaseQuinticActionInOut |
Ease Quintic InOut. More... | |
class | EaseQuinticActionOut |
Ease Quintic Out. More... | |
class | EaseRateAction |
Base class for Easing actions with rate parameters. More... | |
class | EaseSineIn |
Ease Sine In. More... | |
class | EaseSineInOut |
Ease Sine InOut. More... | |
class | EaseSineOut |
Ease Sine Out. More... | |
class | EditBoxEvent |
class | Event |
Base class of all kinds of events. More... | |
class | EventAcceleration |
class | EventController |
class | EventCustom |
class | EventDispatcher |
This class manages event listener subscriptions and event dispatching. More... | |
class | EventFocus |
class | EventKeyboard |
class | EventListener |
The base class of event listener. More... | |
class | EventListenerAcceleration |
class | EventListenerController |
class | EventListenerCustom |
Usage: auto dispatcher = Director::getInstance()->getEventDispatcher(); Adds a listener: More... | |
class | EventListenerFocus |
class | EventListenerKeyboard |
class | EventListenerMouse |
class | EventListenerPhysicsContact |
class | EventListenerPhysicsContactWithBodies |
this event listener only be called when bodyA and bodyB have contacts More... | |
class | EventListenerPhysicsContactWithGroup |
this event listener only be called when shapeA or shapeB is in the group your specified More... | |
class | EventListenerPhysicsContactWithShapes |
this event listener only be called when shapeA and shapeB have contacts More... | |
class | EventListenerTouchAllAtOnce |
class | EventListenerTouchOneByOne |
class | EventMouse |
class | EventTouch |
class | FadeIn |
Fades In an object that implements the RGBAProtocol protocol. More... | |
class | FadeOut |
Fades Out an object that implements the RGBAProtocol protocol. More... | |
class | FadeOutBLTiles |
FadeOutBLTiles action. More... | |
class | FadeOutDownTiles |
FadeOutDownTiles action. More... | |
class | FadeOutTRTiles |
FadeOutTRTiles action Fades out the tiles in a Top-Right direction. More... | |
class | FadeOutUpTiles |
FadeOutUpTiles action. More... | |
class | FadeTo |
Fades an object that implements the RGBAProtocol protocol. More... | |
class | FileUtils |
Helper class to handle file operations. More... | |
class | FileUtilsAndroid |
Helper class to handle file operations. More... | |
class | FileUtilsApple |
Helper class to handle file operations. More... | |
class | FileUtilsLinux |
Helper class to handle file operations. More... | |
class | FileUtilsWin32 |
Helper class to handle file operations. More... | |
class | FiniteTimeAction |
Base class actions that do have a finite time duration. More... | |
class | FlipX |
Flips the sprite horizontally. More... | |
class | FlipX3D |
FlipX3D action. More... | |
class | FlipY |
Flips the sprite vertically. More... | |
class | FlipY3D |
FlipY3D action. More... | |
class | Follow |
Follow is an action that "follows" a node. More... | |
class | Font |
class | FontAtlas |
class | FontAtlasCache |
class | FontCharMap |
struct | FontDefinition |
class | FontFNT |
class | FontFreeType |
struct | FontLetterDefinition |
struct | FontShadow |
types used for defining fonts properties (i.e. More... | |
struct | FontStroke |
class | GLProgram |
GLProgram Class that implements a glProgram. More... | |
class | GLProgramCache |
GLProgramCache Singleton that stores manages GLProgram objects (shaders) More... | |
class | GLProgramState |
GLProgramState holds the 'state' (uniforms and attributes) of the GLProgram. More... | |
class | GLProgramStateCache |
class | GLView |
class | GLViewImpl |
Class that represent the OpenGL View. More... | |
class | Grabber |
FBO class that grabs the the contents of the screen. More... | |
class | Grid3D |
Grid3D is a 3D grid implementation. More... | |
class | Grid3DAction |
Base class for Grid3D actions. More... | |
class | GridAction |
Base class for Grid actions. More... | |
class | GridBase |
Base class for other. More... | |
class | GroupCommand |
class | GroupCommandManager |
class | Hide |
Hide the node. More... | |
class | Image |
class | IMEDelegate |
Input method editor delegate. More... | |
class | IMEDispatcher |
Input Method Edit Message Dispatcher. More... | |
struct | IMEKeyboardNotificationInfo |
class | IndexBuffer |
class | InputEvent |
class | JniHelper |
class | JumpBy |
Moves a Node object simulating a parabolic jump movement by modifying it's position attribute. More... | |
class | JumpTiles3D |
JumpTiles3D action. More... | |
class | JumpTo |
Moves a Node object to a parabolic position simulating a jump movement by modifying it's position attribute. More... | |
class | KeyboardEvent |
class | Label |
class | LabelAtlas |
LabelAtlas is a subclass of AtlasNode. More... | |
class | LabelBMFont |
LabelBMFont is a subclass of SpriteBatchNode. More... | |
class | LabelProtocol |
Common interface for Labels. More... | |
class | LabelTextFormatter |
class | LabelTTF |
LabelTTF is a subclass of TextureNode that knows how to render text labels. More... | |
class | Layer |
Layer is a subclass of Node that implements the TouchEventsDelegate protocol. More... | |
class | LayerColor |
LayerColor is a subclass of Layer that implements the RGBAProtocol protocol. More... | |
class | LayerGradient |
LayerGradient is a subclass of LayerColor that draws gradients across the background. More... | |
class | LayerMultiplex |
MultipleLayer is a Layer with the ability to multiplex it's children. More... | |
class | Lens3D |
Lens3D action. More... | |
class | Liquid |
Liquid action. More... | |
class | Lock |
class | LuaBridge |
class | LuaCallFunc |
class | LuaEngine |
class | LuaObjcBridge |
class | LuaStack |
class | LuaValue |
union | LuaValueField |
class | Map |
struct | MaterialData |
material data, More... | |
struct | MaterialDatas |
material datas, since 3.3 More... | |
class | Menu |
A Menu. More... | |
class | MenuItem |
MenuItem base class. More... | |
class | MenuItemAtlasFont |
A MenuItemAtlasFont Helper class that creates a MenuItemLabel class with a LabelAtlas. More... | |
class | MenuItemFont |
A MenuItemFont Helper class that creates a MenuItemLabel class with a Label. More... | |
class | MenuItemImage |
MenuItemImage accepts images as items. More... | |
class | MenuItemLabel |
An abstract class for "label" MenuItemLabel items Any Node that supports the LabelProtocol protocol can be added. More... | |
class | MenuItemSprite |
MenuItemSprite accepts Node<RGBAProtocol> objects as items. More... | |
class | MenuItemToggle |
A MenuItemToggle A simple container class that "toggles" it's inner items The inner items can be any MenuItem. More... | |
class | Mesh |
Mesh: contains ref to index buffer, GLProgramState, texture, skin, blend function, aabb and so on. More... | |
class | MeshCommand |
struct | MeshData |
mesh data More... | |
struct | MeshDatas |
mesh datas More... | |
class | MeshIndexData |
class | MeshSkin |
MeshSkin, A class maintain a collection of bones that affect Mesh vertex. More... | |
struct | MeshVertexAttrib |
mesh vertex attribute More... | |
class | MeshVertexData |
struct | ModelData |
model node data, since 3.3 More... | |
class | MotionStreak |
MotionStreak. More... | |
class | MoveBy |
Moves a Node object x,y pixels by modifying it's position attribute. More... | |
class | MoveTo |
Moves a Node object to the position x,y. More... | |
struct | NMaterialData |
class | Node |
Node is the base element of the Scene Graph. More... | |
struct | NodeData |
Node data, since 3.3. More... | |
struct | NodeDatas |
node datas, since 3.3 More... | |
class | NodeGrid |
class | NotificationObserver |
struct | NTextureData |
new material, since 3.3 More... | |
class | OBB |
class | ObjectFactory |
class | ObjLoader |
class | OrbitCamera |
OrbitCamera action Orbits the camera around the center of the screen using spherical coordinates. More... | |
class | PageTurn3D |
This action simulates a page turn from the bottom right hand corner of the screen. More... | |
class | ParallaxNode |
ParallaxNode: A node that simulates a parallax scroller. More... | |
class | ParticleBatchNode |
ParticleBatchNode is like a batch node: if it contains children, it will draw them in 1 single OpenGL call (often known as "batch draw"). More... | |
class | ParticleExplosion |
An explosion particle system. More... | |
class | ParticleFire |
A fire particle system. More... | |
class | ParticleFireworks |
A fireworks particle system. More... | |
class | ParticleFlower |
A flower particle system. More... | |
class | ParticleGalaxy |
A galaxy particle system. More... | |
class | ParticleMeteor |
A meteor particle system. More... | |
class | ParticleRain |
A rain particle system. More... | |
class | ParticleSmoke |
An smoke particle system. More... | |
class | ParticleSnow |
An snow particle system. More... | |
class | ParticleSpiral |
An spiral particle system. More... | |
class | ParticleSun |
A sun particle system. More... | |
class | ParticleSystem |
Particle System base class. More... | |
class | ParticleSystemQuad |
ParticleSystemQuad is a subclass of ParticleSystem. More... | |
class | PhysicsBody |
A body affect by physics. More... | |
class | PhysicsBodyInfo |
class | PhysicsContact |
Contact infomation. More... | |
class | PhysicsContactInfo |
class | PhysicsContactPostSolve |
class | PhysicsContactPreSolve |
class | PhysicsDebugDraw |
class | PhysicsHelper |
class | PhysicsJoint |
class | PhysicsJointDistance |
Set the fixed distance with two bodies. More... | |
class | PhysicsJointFixed |
class | PhysicsJointGear |
Keeps the angular velocity ratio of a pair of bodies constant. More... | |
class | PhysicsJointGroove |
Attach body a to a line, and attach body b to a dot. More... | |
class | PhysicsJointInfo |
class | PhysicsJointLimit |
class | PhysicsJointMotor |
Keeps the relative angular velocity of a pair of bodies constant. More... | |
class | PhysicsJointPin |
class | PhysicsJointRatchet |
Works like a socket wrench. More... | |
class | PhysicsJointRotaryLimit |
Likes a limit joint, but works with rotary. More... | |
class | PhysicsJointRotarySpring |
Likes a spring joint, but works with rotary. More... | |
class | PhysicsJointSpring |
Connecting two physics bodies together with a spring. More... | |
class | PhysicsShape |
A shape for body. More... | |
class | PhysicsShapeBox |
A box shape. More... | |
class | PhysicsShapeCircle |
A circle shape. More... | |
class | PhysicsShapeEdgeBox |
An edge box shape. More... | |
class | PhysicsShapeEdgeChain |
a chain shape More... | |
class | PhysicsShapeEdgePolygon |
An edge polygon shape. More... | |
class | PhysicsShapeEdgeSegment |
A segment shape. More... | |
class | PhysicsShapeInfo |
class | PhysicsShapePolygon |
A polygon shape. More... | |
class | PhysicsWorld |
An PhysicsWorld object simulates collisions and other physical properties. More... | |
class | PhysicsWorldInfo |
class | Place |
Places the node in a certain position. More... | |
class | PointArray |
An Array that contain control points. More... | |
class | PointerEvent |
class | PointLight |
struct | PointSprite |
Vec2 Sprite component. More... | |
class | PoolManager |
class | PrettyPrinter |
class | Primitive |
class | PrimitiveCommand |
class | Profiler |
Profiler cocos2d builtin profiler. More... | |
class | ProfilingTimer |
class | ProgressFromTo |
Progress from a percentage to another percentage. More... | |
class | ProgressTimer |
ProgressTimer is a subclass of Node. More... | |
class | ProgressTo |
Progress to percentage. More... | |
class | ProtectedNode |
struct | Quad2 |
A 2D Quad. 4 * 2 floats. More... | |
struct | Quad3 |
A 3D Quad. 4 * 3 floats. More... | |
class | QuadCommand |
Command used to render one or more Quads. More... | |
class | RandomHelper |
class | Ray |
class | Rect |
class | Ref |
struct | Reference |
reference data More... | |
class | RefPtr |
Wrapper class which maintains a strong reference to a cocos2dx cocos2d::Ref* type object. More... | |
class | RemoveSelf |
Remove the node. More... | |
class | RenderCommand |
Base class of the RenderCommand hierarchy. More... | |
class | RenderCommandPool |
class | Renderer |
class | RenderQueue |
Class that knows how to sort RenderCommand objects. More... | |
struct | RenderStackElement |
class | RenderTexture |
RenderTexture is a generic rendering target. More... | |
class | Repeat |
Repeats an action a number of times. More... | |
class | RepeatForever |
Repeats an action for ever. More... | |
class | ReuseGrid |
ReuseGrid action. More... | |
class | ReverseTime |
Executes an action in reverse order, from time=duration to time=0. More... | |
class | Ripple3D |
Ripple3D action. More... | |
class | RotateBy |
Rotates a Node object clockwise a number of degrees by modifying it's rotation attribute. More... | |
class | RotateTo |
Rotates a Node object to a certain angle by modifying it's rotation attribute. More... | |
class | SAXDelegator |
class | SAXParser |
class | ScaleBy |
Scales a Node object a zoom factor by modifying it's scale attribute. More... | |
class | ScaleTo |
Scales a Node object to a zoom factor by modifying it's scale attribute. More... | |
class | Scene |
Scene is a subclass of Node that is used only as an abstract concept. More... | |
class | ScheduleHandlerDelegate |
class | Scheduler |
Scheduler is responsible for triggering the scheduled callbacks. More... | |
class | ScriptHandlerMgr |
class | sealed |
class | Sequence |
Runs actions sequentially, one after another. More... | |
class | Shaky3D |
Shaky3D action. More... | |
class | ShakyTiles3D |
ShakyTiles3D action. More... | |
class | ShatteredTiles3D |
ShatteredTiles3D action. More... | |
class | Show |
Show the node. More... | |
class | ShuffleTiles |
ShuffleTiles action Shuffle the tiles in random order. More... | |
class | Size |
class | Skeleton3D |
Skeleton. More... | |
class | SkewBy |
Skews a Node object by skewX and skewY degrees. More... | |
class | SkewTo |
Skews a Node object to given angles by modifying it's skewX and skewY attributes. More... | |
struct | SkinData |
skin data More... | |
class | Spawn |
Spawn a new action immediately. More... | |
class | Speed |
Changes the speed of an action, making it take longer (speed>1) or less (speed<1) time. More... | |
class | SplitCols |
SplitCols action. More... | |
class | SplitRows |
SplitRows action. More... | |
class | SpotLight |
class | Sprite |
Sprite is a 2d image ( http://en.wikipedia.org/wiki/Sprite_(computer_graphics) ) More... | |
class | Sprite3D |
Sprite3D: A sprite can be loaded from 3D model files, .obj, .c3t, .c3b, then can be drawed as sprite. More... | |
class | Sprite3DCache |
class | Sprite3DMaterialCache |
the sprite3D material is only texture for now More... | |
class | SpriteBatchNode |
SpriteBatchNode is like a batch node: if it contains children, it will draw them in 1 single OpenGL call (often known as "batch draw"). More... | |
class | SpriteFrame |
A SpriteFrame has: More... | |
class | SpriteFrameCache |
Singleton that handles the loading of the sprite frames. More... | |
class | StopGrid |
StopGrid action. More... | |
struct | StringCompare |
struct | T2F_Quad |
class | TargetedAction |
Overrides the target of an action so that it always runs on the target specified at action creation rather than the one specified by runAction. More... | |
struct | Tex2F |
A vertex composed of 2 floats: x, y. More... | |
class | TextFieldDelegate |
class | TextFieldTTF |
A simple text input field with TTF font. More... | |
class | Texture2D |
Texture2D class. More... | |
class | TextureAtlas |
A class that implements a Texture Atlas. More... | |
class | TextureCache |
Singleton that handles the loading of textures Once the texture is loaded, the next time it will return a reference of the previously loaded texture reducing GPU & CPU memory. More... | |
class | TextureProtocol |
Node objects that uses a Texture2D to render the images. More... | |
class | ThreadHelper |
class | TiledGrid3D |
TiledGrid3D is a 3D grid implementation. More... | |
class | TiledGrid3DAction |
Base class for TiledGrid3D actions. More... | |
class | TileMapAtlas |
TileMapAtlas is a subclass of AtlasNode. More... | |
class | Timer |
Light-weight timer. More... | |
class | TimerTargetCallback |
class | TimerTargetSelector |
struct | timezone |
class | TintBy |
Tints a Node that implements the NodeRGB protocol from current tint to a custom one. More... | |
class | TintTo |
Tints a Node that implements the NodeRGB protocol from current tint to a custom one. More... | |
class | TMXLayer |
TMXLayer represents the TMX layer. More... | |
class | TMXLayerInfo |
TMXLayerInfo contains the information about the layers like: More... | |
class | TMXMapInfo |
TMXMapInfo contains the information about the map like: More... | |
class | TMXObjectGroup |
TMXObjectGroup represents the TMX object group. More... | |
class | TMXTiledMap |
TMXTiledMap knows how to parse and render a TMX map. More... | |
class | TMXTilesetInfo |
TMXTilesetInfo contains the information about the tilesets like: More... | |
class | ToggleVisibility |
Toggles the visibility of a node. More... | |
class | Touch |
class | TransitionCrossFade |
TransitionCrossFade: Cross fades two scenes using the RenderTexture object. More... | |
class | TransitionEaseScene |
TransitionEaseScene can ease the actions of the scene protocol. More... | |
class | TransitionFade |
TransitionFade: Fade out the outgoing scene and then fade in the incoming scene. More... | |
class | TransitionFadeBL |
TransitionFadeBL: Fade the tiles of the outgoing scene from the top-right corner to the bottom-left corner. More... | |
class | TransitionFadeDown |
TransitionFadeDown: Fade the tiles of the outgoing scene from the top to the bottom. More... | |
class | TransitionFadeTR |
TransitionFadeTR: Fade the tiles of the outgoing scene from the left-bottom corner the to top-right corner. More... | |
class | TransitionFadeUp |
TransitionFadeUp: Fade the tiles of the outgoing scene from the bottom to the top. More... | |
class | TransitionFlipAngular |
TransitionFlipAngular: Flips the screen half horizontally and half vertically. More... | |
class | TransitionFlipX |
TransitionFlipX: Flips the screen horizontally. More... | |
class | TransitionFlipY |
TransitionFlipY: Flips the screen vertically. More... | |
class | TransitionJumpZoom |
TransitionJumpZoom: Zoom out and jump the outgoing scene, and then jump and zoom in the incoming. More... | |
class | TransitionMoveInB |
TransitionMoveInB: Move in from to the bottom the incoming scene. More... | |
class | TransitionMoveInL |
TransitionMoveInL: Move in from to the left the incoming scene. More... | |
class | TransitionMoveInR |
TransitionMoveInR: Move in from to the right the incoming scene. More... | |
class | TransitionMoveInT |
TransitionMoveInT: Move in from to the top the incoming scene. More... | |
class | TransitionPageTurn |
A transition which peels back the bottom right hand corner of a scene to transition to the scene beneath it simulating a page turn. More... | |
class | TransitionProgress |
class | TransitionProgressHorizontal |
TransitionProgressHorizontal transition. More... | |
class | TransitionProgressInOut |
class | TransitionProgressOutIn |
class | TransitionProgressRadialCCW |
TransitionRadialCCW transition. More... | |
class | TransitionProgressRadialCW |
TransitionRadialCW transition. More... | |
class | TransitionProgressVertical |
class | TransitionRotoZoom |
TransitionRotoZoom: Rotate and zoom out the outgoing scene, and then rotate and zoom in the incoming. More... | |
class | TransitionScene |
Base class for Transition scenes. More... | |
class | TransitionSceneOriented |
A Transition that supports orientation like. More... | |
class | TransitionShrinkGrow |
Shrink the outgoing scene while grow the incoming scene. More... | |
class | TransitionSlideInB |
TransitionSlideInB: Slide in the incoming scene from the bottom border. More... | |
class | TransitionSlideInL |
TransitionSlideInL: Slide in the incoming scene from the left border. More... | |
class | TransitionSlideInR |
TransitionSlideInR: Slide in the incoming scene from the right border. More... | |
class | TransitionSlideInT |
TransitionSlideInT: Slide in the incoming scene from the top border. More... | |
class | TransitionSplitCols |
TransitionSplitCols: The odd columns goes upwards while the even columns goes downwards. More... | |
class | TransitionSplitRows |
TransitionSplitRows: The odd rows goes to the left while the even rows goes to the right. More... | |
class | TransitionTurnOffTiles |
TransitionTurnOffTiles: Turn off the tiles of the outgoing scene in random order. More... | |
class | TransitionZoomFlipAngular |
TransitionZoomFlipAngular: Flips the screen half horizontally and half vertically doing a little zooming out/in. More... | |
class | TransitionZoomFlipX |
TransitionZoomFlipX: Flips the screen horizontally doing a zoom out/in The front face is the outgoing scene and the back face is the incoming scene. More... | |
class | TransitionZoomFlipY |
TransitionZoomFlipY: Flips the screen vertically doing a little zooming out/in The front face is the outgoing scene and the back face is the incoming scene. More... | |
class | TransparentRenderQueue |
class | TrianglesCommand |
class | TurnOffTiles |
TurnOffTiles action. More... | |
class | Twirl |
Twirl action. More... | |
class | UIEditBoxEvent |
struct | Uniform |
class | UniformValue |
class | UserDefault |
UserDefault acts as a tiny database. More... | |
struct | V2F_C4B_T2F |
a Vec2 with a vertex point, a tex coord point and a color 4B More... | |
struct | V2F_C4B_T2F_Quad |
A Quad of V2F_C4B_T2F. More... | |
struct | V2F_C4B_T2F_Triangle |
A Triangle of V2F_C4B_T2F. More... | |
struct | V2F_C4F_T2F |
a Vec2 with a vertex point, a tex coord point and a color 4F More... | |
struct | V2F_C4F_T2F_Quad |
4 Vertex2FTex2FColor4F Quad More... | |
struct | V3F_C4B_T2F |
a Vec2 with a vertex point, a tex coord point and a color 4B More... | |
struct | V3F_C4B_T2F_Quad |
4 Vertex3FTex2FColor4B More... | |
struct | V3F_T2F |
a Vec2 with a vertex point, a tex coord point More... | |
struct | V3F_T2F_Quad |
class | Value |
class | Vector |
struct | VertexAttrib |
class | VertexAttribValue |
class | VertexBuffer |
class | VertexData |
struct | VertexStreamAttribute |
class | Waves |
Waves action. More... | |
class | Waves3D |
Waves3D action. More... | |
class | WavesTiles3D |
WavesTiles3D action. More... | |
class | ZipFile |
Zip file - reader helper class. More... | |
class | ZipUtils |
Functions | |
CC_DLL Vec2 | (Vec2 &p0, Vec2 &p1, Vec2 &p2, Vec2 &p3, float tension, float t) |
Returns the Cardinal Spline position for a given set of control points, tension and time. More... | |
bool CC_DLL | (Node *n1, Node *n2) |
template<> | |
bool | (std::string *ptr) |
specalization for std::string More... | |
var | ( var ptr) |
template<> | |
bool | (unsigned int *length, std::vector< std::string > *values) |
template function to read array of value. More... | |
var | ( var length, var values) |
local | ( local length, local values) |
int CC_DLL | (const unsigned char *in, unsigned int inLength, unsigned char **out) |
Decodes a 64base encoded memory. More... | |
int CC_DLL | (const unsigned char *in, unsigned int inLength, char **out) |
Encodes bytes into a 64base encoded memory with terminating '\0' character. More... | |
ccArray * | (ssize_t capacity) |
Allocates and initializes a new array with specified capacity. More... | |
void | (ccArray *&arr) |
Frees array after removing all remaining objects. More... | |
void | (ccArray *arr) |
Doubles array capacity. More... | |
void | (ccArray *arr, ssize_t extra) |
Increases array capacity such that max >= num + extra. More... | |
void | (ccArray *arr) |
shrinks the array so the memory footprint corresponds with the number of items More... | |
ssize_t | (ccArray *arr, Ref *object) |
Returns index of first occurrence of object, NSNotFound if object not found. More... | |
bool | (ccArray *arr, Ref *object) |
Returns a Boolean value that indicates whether object is present in array. More... | |
void | (ccArray *arr, Ref *object) |
Appends an object. More... | |
void | (ccArray *arr, Ref *object) |
Appends an object. More... | |
void | (ccArray *arr, ccArray *plusArr) |
Appends objects from plusArr to arr. More... | |
void | (ccArray *arr, ccArray *plusArr) |
Appends objects from plusArr to arr. More... | |
void | (ccArray *arr, Ref *object, ssize_t index) |
Inserts an object at index. More... | |
void | (ccArray *arr, ssize_t index1, ssize_t index2) |
Swaps two objects. More... | |
void | (ccArray *arr) |
Removes all objects from arr. More... | |
void | (ccArray *arr, ssize_t index, bool releaseObj=true) |
Removes object at specified index and pushes back all subsequent objects. More... | |
void | (ccArray *arr, ssize_t index) |
Removes object at specified index and fills the gap with the last object, thereby avoiding the need to push back subsequent objects. More... | |
void | (ccArray *arr, Ref *object) |
void | (ccArray *arr, Ref *object, bool releaseObj=true) |
Searches for the first occurrence of object and removes it. More... | |
void | (ccArray *arr, ccArray *minusArr) |
Removes from arr all objects in minusArr. More... | |
void | (ccArray *arr, ccArray *minusArr) |
Removes from arr all objects in minusArr. More... | |
ccCArray * | (ssize_t capacity) |
Allocates and initializes a new C array with specified capacity. More... | |
void | (ccCArray *arr) |
Frees C array after removing all remaining values. More... | |
void | (ccCArray *arr) |
Doubles C array capacity. More... | |
void | (ccCArray *arr, ssize_t extra) |
Increases array capacity such that max >= num + extra. More... | |
ssize_t | (ccCArray *arr, void *value) |
Returns index of first occurrence of value, NSNotFound if value not found. More... | |
bool | (ccCArray *arr, void *value) |
Returns a Boolean value that indicates whether value is present in the C array. More... | |
void | (ccCArray *arr, void *value, ssize_t index) |
Inserts a value at a certain position. More... | |
void | (ccCArray *arr, void *value) |
Appends an value. More... | |
void | (ccCArray *arr, void *value) |
Appends an value. More... | |
void | (ccCArray *arr, ccCArray *plusArr) |
Appends values from plusArr to arr. More... | |
void | (ccCArray *arr, ccCArray *plusArr) |
Appends values from plusArr to arr. More... | |
void | (ccCArray *arr) |
Removes all values from arr. More... | |
void | (ccCArray *arr, ssize_t index) |
Removes value at specified index and pushes back all subsequent values. More... | |
void | (ccCArray *arr, ssize_t index) |
Removes value at specified index and fills the gap with the last value, thereby avoiding the need to push back subsequent values. More... | |
void | (ccCArray *arr, void *value) |
Searches for the first occurrence of value and removes it. More... | |
void | (ccCArray *arr, ccCArray *minusArr) |
Removes from arr all values in minusArr. More... | |
void | (ccCArray *arr, ccCArray *minusArr) |
Removes from arr all values in minusArr. More... | |
void CC_DLL | (const char *format,...) CC_FORMAT_PRINTF(1 |
Output Debug message. More... | |
Rect CC_DLL | (const std::string &str) |
Returns a Core Graphics rectangle structure corresponding to the data in a given string. More... | |
Vec2 CC_DLL | (const std::string &str) |
Returns a Core Graphics point structure corresponding to the data in a given string. More... | |
Size CC_DLL | (const std::string &str) |
Returns a Core Graphics size structure corresponding to the data in a given string. More... | |
void CC_DLL | (const char *timerName) |
void CC_DLL | (const char *timerName) |
void CC_DLL | (const char *timerName) |
template<typename T > | |
T | (T min, T max) |
returns a random value between min and max More... | |
template<> | |
float | (float min, float max) |
local | ( local min, local max) |
template<> | |
long double | (long double min, long double max) |
var | ( var min, var max) |
local | ( local min, local max) |
template<> | |
double | (double min, double max) |
var | ( var min, var max) |
local | ( local min, local max) |
int | () |
Returns a random int between 0 and RAND_MAX. More... | |
float | () |
Returns a random float between -1 and 1. More... | |
float | () |
Returns a random float between 0 and 1. More... | |
template<class T , class U > | |
RefPtr< T > | (const RefPtr< U > &r) |
Cast between RefPtr types statically. More... | |
template<class T , class U > | |
RefPtr< T > | (const RefPtr< U > &r) |
Cast between RefPtr types dynamically. More... | |
int | (int value) |
returns the Next Power of Two value. More... | |
bool | (unsigned char *buffer, unsigned long bufSize, tImageTGA *info) |
load the image header fields. We only keep those that matter! More... | |
bool | (unsigned char *buffer, unsigned long bufSize, tImageTGA *info) |
loads the image pixels. You shouldn't call this function directly More... | |
tImageTGA * | (unsigned char *buffer, long size) |
this is the function to call when we want to load an image buffer. More... | |
tImageTGA * | (const char *filename) |
this is the function to call when we want to load an image More... | |
void | (tImageTGA *info) |
void | (tImageTGA *info) |
releases the memory used for the image More... | |
CC_DLL const char * | () |
Vec2 | (float x, float y) |
Helper macro that creates a Vec2. More... | |
Vec2 | (float x, float y) |
Size | (float width, float height) |
Rect | (float x, float y, float width, float height) |
void CC_DLL | (const char *pszFormat,...) CC_FORMAT_PRINTF(1 |
use log() instead More... | |
void CC_DLL void CC_DLL | () |
void CC_DLL | () |
void CC_DLL | (const Vec2 &point) |
void CC_DLL | (const Vec2 *points, unsigned int numberOfPoints) |
void CC_DLL | (const Vec2 &origin, const Vec2 &destination) |
void CC_DLL | (Vec2 origin, Vec2 destination) |
void CC_DLL | (Vec2 origin, Vec2 destination, Color4F color) |
void CC_DLL | (const Vec2 *vertices, unsigned int numOfVertices, bool closePolygon) |
void CC_DLL | (const Vec2 *poli, unsigned int numberOfPoints, Color4F color) |
void CC_DLL | (const Vec2 ¢er, float radius, float angle, unsigned int segments, bool drawLineToCenter, float scaleX, float scaleY) |
void CC_DLL | (const Vec2 ¢er, float radius, float angle, unsigned int segments, bool drawLineToCenter) |
void CC_DLL | (const Vec2 ¢er, float radius, float angle, unsigned int segments, float scaleX, float scaleY) |
void CC_DLL | (const Vec2 ¢er, float radius, float angle, unsigned int segments) |
void CC_DLL | (const Vec2 &origin, const Vec2 &control, const Vec2 &destination, unsigned int segments) |
void CC_DLL | (const Vec2 &origin, const Vec2 &control1, const Vec2 &control2, const Vec2 &destination, unsigned int segments) |
void CC_DLL | (PointArray *arrayOfControlPoints, unsigned int segments) |
void CC_DLL | (PointArray *config, float tension, unsigned int segments) |
void CC_DLL | (GLubyte r, GLubyte g, GLubyte b, GLubyte a) |
void CC_DLL | (GLfloat r, GLfloat g, GLfloat b, GLfloat a) |
void CC_DLL | (GLfloat pointSize) |
void CC_DLL | () |
void CC_DLL | (GLuint program) |
void CC_DLL | (GLuint program) |
void CC_DLL | (GLenum sfactor, GLenum dfactor) |
void CC_DLL | () |
void CC_DLL | () |
void CC_DLL | (unsigned int flags) |
void CC_DLL | (GLuint textureId) |
void CC_DLL | (GLuint textureUnit, GLuint textureId) |
void CC_DLL | (GLuint textureId) |
void CC_DLL | (GLuint textureUnit, GLuint textureId) |
void CC_DLL | (GLuint vaoId) |
void CC_DLL | (int flags) |
void CC_DLL | (void) |
void CC_DLL | (void) |
void CC_DLL | (void) |
void CC_DLL | (unsigned int mode) |
void CC_DLL | (void) |
void CC_DLL | (const Mat4 *pIn) |
void CC_DLL | (const Mat4 *pIn) |
void CC_DLL | (float x, float y, float z) |
void CC_DLL | (float angle, float x, float y, float z) |
void CC_DLL | (float x, float y, float z) |
void CC_DLL | (unsigned int mode, Mat4 *pOut) |
CC_DLL Mat4 * | (Mat4 *pOut, const float *pMat) |
CC_DLL Mat4 * | (Mat4 *pOut, const Mat4 *pIn) |
CC_DLL Mat4 * | (Mat4 *pOut) |
CC_DLL Mat4 * | (Mat4 *pOut, const Mat4 *pM) |
CC_DLL Mat4 * | (Mat4 *pOut, const Mat4 *pIn) |
CC_DLL Mat4 * | (Mat4 *pOut, const Mat4 *pM1, const Mat4 *pM2) |
CC_DLL Mat4 * | (Mat4 *pOut, const float x, const float y, const float z) |
CC_DLL Mat4 * | (Mat4 *pOut, const float radians) |
CC_DLL Mat4 * | (Mat4 *pOut, const float radians) |
CC_DLL Mat4 * | (Mat4 *pOut, const float radians) |
CC_DLL Mat4 * | (Mat4 *pOut, const Vec3 *axis, float radians) |
CC_DLL Mat4 * | (Mat4 *pOut, const float x, const float y, const float z) |
CC_DLL Mat4 * | (Mat4 *pOut, float fovY, float aspect, float zNear, float zFar) |
CC_DLL Mat4 * | (Mat4 *pOut, float left, float right, float bottom, float top, float nearVal, float farVal) |
CC_DLL Mat4 * | (Mat4 *pOut, const Vec3 *pEye, const Vec3 *pCenter, const Vec3 *pUp) |
CC_DLL Vec3 * | (Vec3 *pOut, float x, float y, float z) |
CC_DLL float | (const Vec3 *pIn) |
CC_DLL float | (const Vec3 *pIn) |
CC_DLL Vec3 * | (Vec3 *pOut, const Vec3 *pV1, const Vec3 *pV2, float t) |
CC_DLL Vec3 * | (Vec3 *pOut, const Vec3 *pIn) |
CC_DLL Vec3 * | (Vec3 *pOut, const Vec3 *pV1, const Vec3 *pV2) |
CC_DLL float | (const Vec3 *pV1, const Vec3 *pV2) |
CC_DLL Vec3 * | (Vec3 *pOut, const Vec3 *pV1, const Vec3 *pV2) |
CC_DLL Vec3 * | (Vec3 *pOut, const Vec3 *pV1, const Vec3 *pV2) |
CC_DLL Vec3 * | (Vec3 *pOut, const Vec3 *pV1, const Mat4 *pM) |
CC_DLL Vec3 * | (Vec3 *pOut, const Vec3 *pV, const Mat4 *pM) |
CC_DLL Vec3 * | (Vec3 *pOut, const Vec3 *pV, const Mat4 *pM) |
CC_DLL Vec3 * | (Vec3 *pOut, const Vec3 *pIn, const float s) |
CC_DLL Vec3 * | (Vec3 *pOut, const Vec3 *pIn) |
CC_DLL Vec3 * | (Vec3 *pOut) |
CC_DLL Vec2 * | (Vec2 *pOut, float x, float y) |
CC_DLL float | (const Vec2 *pIn) |
CC_DLL float | (const Vec2 *pIn) |
CC_DLL Vec2 * | (Vec2 *pOut, const Vec2 *pIn) |
CC_DLL Vec2 * | (Vec2 *pOut, const Vec2 *pV1, const Vec2 *pV2, float t) |
CC_DLL Vec2 * | (Vec2 *pOut, const Vec2 *pV1, const Vec2 *pV2) |
CC_DLL float | (const Vec2 *pV1, const Vec2 *pV2) |
CC_DLL Vec2 * | (Vec2 *pOut, const Vec2 *pV1, const Vec2 *pV2) |
CC_DLL Vec2 * | (Vec2 *pOut, const Vec2 *pIn, const float s) |
CC_DLL Vec2 * | (Vec2 *pOut, const Vec2 *pIn) |
CC_DLL Vec4 * | (Vec4 *pOut, float x, float y, float z, float w) |
CC_DLL Vec4 * | (Vec4 *pOut, const Vec4 *pV1, const Vec4 *pV2) |
CC_DLL float | (const Vec4 *pV1, const Vec4 *pV2) |
CC_DLL float | (const Vec4 *pIn) |
CC_DLL float | (const Vec4 *pIn) |
CC_DLL Vec4 * | (Vec4 *pOut, const Vec4 *pV1, const Vec4 *pV2, float t) |
CC_DLL Vec4 * | (Vec4 *pOut, const Vec4 *pIn) |
CC_DLL Vec4 * | (Vec4 *pOut, const Vec4 *pIn, const float s) |
CC_DLL Vec4 * | (Vec4 *pOut, const Vec4 *pV1, const Vec4 *pV2) |
CC_DLL Vec4 * | (Vec4 *pOut, const Vec4 *pIn) |
CC_DLL Vec4 * | (Vec4 *pOut, const Vec4 *pV, const Mat4 *pM) |
CC_DLL Vec4 * | (Vec4 *pOut, const Vec4 *pV, const Mat4 *pM) |
CC_DLL AffineTransform | (float a, float b, float c, float d, float tx, float ty) |
CC_DLL Vec2 | (const Vec2 &point, const AffineTransform &t) |
CC_DLL Size | (const Size &size, const AffineTransform &t) |
CC_DLL AffineTransform | () |
CC_DLL Rect | (const Rect &rect, const AffineTransform &anAffineTransform) |
CC_DLL Rect | (const Rect &rect, const Mat4 &transform) |
CC_DLL Vec2 | (const Vec2 &point, const Mat4 &transform) |
CC_DLL AffineTransform | (const AffineTransform &t, float tx, float ty) |
CC_DLL AffineTransform | (const AffineTransform &aTransform, float anAngle) |
CC_DLL AffineTransform | (const AffineTransform &t, float sx, float sy) |
CC_DLL AffineTransform | (const AffineTransform &t1, const AffineTransform &t2) |
CC_DLL bool | (const AffineTransform &t1, const AffineTransform &t2) |
CC_DLL AffineTransform | (const AffineTransform &t) |
CC_DLL Mat4 | (const Mat4 &t1, const Mat4 &t2) |
void CC_DLL | (Vec2 *points, float stroke, Vec2 *vertices, unsigned int offset, unsigned int nuPoints) |
converts a line to a polygon More... | |
bool CC_DLL | (float Ax, float Ay, float Bx, float By, float Cx, float Cy, float Dx, float Dy, float *T) |
returns whether or not the line intersects More... | |
CC_DLL void | (const AffineTransform &t, GLfloat *m) |
CC_DLL void | (const GLfloat *m, AffineTransform *t) |
const PhysicsMaterial | (0.1f, 0.5f, 0.5f) |
const PhysicsMaterial | (0.0f, 0.5f, 0.5f) |
void CC_DLL | (const char *format) |
lua can not deal with ... More... | |
void CC_DLL | (const char *msg, const char *title) |
Pop out a message box. More... | |
int CC_DLL | (struct timeval *, struct timezone *) |
void | (pthread_mutex_t *m, void *attributes) |
int | (pthread_mutex_t *m) |
int | (pthread_mutex_t *m) |
void | (pthread_mutex_t *m) |
std::wstring CC_DLL | (const char *pszUtf8Str, unsigned len=-1) |
std::string CC_DLL | (const wchar_t *pwszStr) |
std::string | (Platform::String^s) |
Platform::String | (const std::string &s) |
float | (float dips) |
float | (float v) |
Concurrency::task < Platform::Array< byte >^> | (Platform::String^path) |
void CC_DLL | () |
std::string CC_DLL | () |
public delegate void | (Cocos2dEvent event, Platform::String^text) |
public delegate void | (Platform::String^title, Platform::String^text) |
public delegate void | (Platform::String^strPlaceHolder, Platform::String^strText, int maxLength, int inputMode, int inputFlag, Windows::Foundation::EventHandler< Platform::String^>^receiveHandler) |
public delegate void | (Platform::String^url) |
public delegate void | () |
Add deprecated global functions and variables here.
typedef std::function<void(Ref*)> ccMenuCallback |
typedef int LUA_FUNCTION |
typedef int LUA_STRING |
typedef int LUA_TABLE |
typedef std::list<LuaValue> LuaValueArray |
typedef LuaValueArray::const_iterator LuaValueArrayIterator |
typedef std::map<std::string, LuaValue> LuaValueDict |
typedef LuaValueDict::const_iterator LuaValueDictIterator |
typedef std::map<cocos2d::Node*,VecShedule> MapNodeSchedules |
typedef struct _MipmapInfo MipmapInfo |
typedef std::function<bool(PhysicsWorld&, PhysicsShape&, void*)> PhysicsQueryRectCallbackFunc |
typedef std::function<bool(PhysicsWorld& world, const PhysicsRayCastInfo& info, void* data)> PhysicsRayCastCallbackFunc |
Called for each fixture found in the query.
You control how the ray cast proceeds by returning a float: return true: continue return false: terminate the ray cast
fixture | the fixture hit by the ray |
point | the point of initial intersection |
normal | the normal vector at the point of intersection |
typedef int pthread_cond_t |
typedef HANDLE pthread_mutex_t |
typedef HANDLE pthread_t |
typedef struct unz_file_info_s unz_file_info |
typedef std::unordered_map<int, Value> ValueMapIntKey |
typedef std::vector<Value> ValueVector |
typedef std::vector <ScheduleHandlerDelegate*> VecShedule |
anonymous enum |
anonymous enum |
|
strong |
Note: Scene creates a default camera.
And the default camera mask of Node is 1, therefore it can be seen by the default camera. During rendering the scene, it draws the objects seen by each camera in the added order except default camera. The default camera is the last one being drawn with. If 3D objects exist, you'd better create a seperate camera for them. And set the 3d camera flag to CameraFlag::USER1 or anything else except DEFAULT. The DEFAULT camera is for UI, because it is rendered at last. You can change the camera added order to get different result when depth test is not enabled. For each camera, transparent 3d sprite is rendered after opaque 3d sprite and other 2d objects.
Enumerator | |
---|---|
DEFAULT | |
USER1 | |
USER2 | |
USER3 | |
USER4 | |
USER5 | |
USER6 | |
USER7 | |
USER8 |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
enum LuaBridgeError |
enum LuaValueType |
enum PointerEventType |
public delegate void cocos2d::Cocos2dEventDelegate |
( | Cocos2dEvent | event, |
Platform::String^ | text | ||
) |
public delegate void cocos2d::Cocos2dMessageBoxDelegate |
( | Platform::String^ | title, |
Platform::String^ | text | ||
) |
public delegate void cocos2d::Cocos2dEditBoxDelegate |
( | Platform::String^ | strPlaceHolder, |
Platform::String^ | strText, | ||
int | maxLength, | ||
int | inputMode, | ||
int | inputFlag, | ||
Windows::Foundation::EventHandler< Platform::String^>^ | receiveHandler | ||
) |
CC_DLL void cocos2d::CGAffineToGL | ( | const AffineTransform & | t, |
GLfloat * | m | ||
) |
public delegate void cocos2d::Cocos2dOpenURLDelegate |
( | Platform::String^ | url | ) |
CC_DLL void cocos2d::GLToCGAffine | ( | const GLfloat * | m, |
AffineTransform * | t | ||
) |
public delegate void cocos2d::RequestAdditionalFrameHandler |
( | ) |
std::wstring CC_DLL cocos2d::CCUtf8ToUnicode |
( | const char * | pszUtf8Str, |
unsigned | len = -1 |
||
) |
std::string CC_DLL cocos2d::CCUnicodeToUtf8 |
( | const wchar_t * | pwszStr | ) |
CC_DLL AffineTransform cocos2d::__CCAffineTransformMake |
( | float | a, |
float | b, | ||
float | c, | ||
float | d, | ||
float | tx, | ||
float | ty | ||
) |
void cocos2d::pthread_mutex_init | ( | pthread_mutex_t * | m, |
void * | attributes | ||
) |
CC_DLL Vec2 cocos2d::__CCPointApplyAffineTransform |
( | const Vec2 & | point, |
const AffineTransform & | t | ||
) |
int cocos2d::pthread_mutex_lock | ( | pthread_mutex_t * | m | ) |
const PhysicsMaterial cocos2d::PHYSICSBODY_MATERIAL_DEFAULT |
( | 0. | 1f, |
0. | 5f, | ||
0. | 5f | ||
) |
int cocos2d::pthread_mutex_unlock | ( | pthread_mutex_t * | m | ) |
int CC_DLL cocos2d::base64Decode | ( | const unsigned char * | in, |
unsigned int | inLength, | ||
unsigned char ** | out | ||
) |
Decodes a 64base encoded memory.
The decoded memory is expected to be freed by the caller by calling free()
std::string cocos2d::PlatformStringToString |
( | Platform::String^ | s | ) |
void cocos2d::pthread_mutex_destroy | ( | pthread_mutex_t * | m | ) |
Platform::String cocos2d::PlatformStringFromString |
( | const std::string & | s | ) |
int cocos2d::ccNextPOT | ( | int | value | ) |
returns the Next Power of Two value.
Examples:
CC_DLL AffineTransform cocos2d::AffineTransformMakeIdentity |
( | ) |
CC_DLL Rect cocos2d::RectApplyAffineTransform |
( | const Rect & | rect, |
const AffineTransform & | anAffineTransform | ||
) |
float cocos2d::ConvertDipsToPixels | ( | float | dips | ) |
float cocos2d::getScaledDPIValue | ( | float | v | ) |
bool cocos2d::tgaLoadHeader | ( | unsigned char * | buffer, |
unsigned long | bufSize, | ||
tImageTGA * | info | ||
) |
load the image header fields. We only keep those that matter!
Concurrency::task <Platform::Array<byte> ^> cocos2d::ReadDataAsync |
( | Platform::String^ | path | ) |
CC_DLL AffineTransform cocos2d::AffineTransformTranslate |
( | const AffineTransform & | t, |
float | tx, | ||
float | ty | ||
) |
|
inline |
returns a random value between min
and max
CC_DLL AffineTransform cocos2d::AffineTransformRotate |
( | const AffineTransform & | aTransform, |
float | anAngle | ||
) |
int CC_DLL cocos2d::base64Encode | ( | const unsigned char * | in, |
unsigned int | inLength, | ||
char ** | out | ||
) |
Encodes bytes into a 64base encoded memory with terminating '\0' character.
The encoded memory is expected to be freed by the caller by calling free()
void CC_DLL cocos2d::CCLogIPAddresses |
( | ) |
Returns a Core Graphics point structure corresponding to the data in a given string.
pszContent | A string object whose contents are of the form "{x,y}", where x is the x coordinate and y is the y coordinate. The x and y values can represent integer or float values. An example of a valid string is "{3.0,2.5}". The string is not localized, so items are always separated with a comma. |
CC_DLL AffineTransform cocos2d::AffineTransformScale |
( | const AffineTransform & | t, |
float | sx, | ||
float | sy | ||
) |
const PhysicsMaterial cocos2d::PHYSICSSHAPE_MATERIAL_DEFAULT |
( | 0. | 0f, |
0. | 5f, | ||
0. | 5f | ||
) |
bool cocos2d::tgaLoadImageData | ( | unsigned char * | buffer, |
unsigned long | bufSize, | ||
tImageTGA * | info | ||
) |
loads the image pixels. You shouldn't call this function directly
CC_DLL AffineTransform cocos2d::AffineTransformConcat |
( | const AffineTransform & | t1, |
const AffineTransform & | t2 | ||
) |
std::string CC_DLL cocos2d::getDeviceIPAddresses |
( | ) |
CC_DLL bool cocos2d::AffineTransformEqualToTransform |
( | const AffineTransform & | t1, |
const AffineTransform & | t2 | ||
) |
void CC_DLL cocos2d::log | ( | const char * | format, |
... | |||
) |
Output Debug message.
CC_DLL AffineTransform cocos2d::AffineTransformInvert |
( | const AffineTransform & | t | ) |
tImageTGA* cocos2d::tgaLoadBuffer | ( | unsigned char * | buffer, |
long | size | ||
) |
this is the function to call when we want to load an image buffer.
|
inline |
tImageTGA* cocos2d::tgaLoad | ( | const char * | filename | ) |
this is the function to call when we want to load an image
ccArray* cocos2d::ccArrayNew | ( | ssize_t | capacity | ) |
Allocates and initializes a new array with specified capacity.
void cocos2d::tgaRGBtogreyscale | ( | tImageTGA * | info | ) |
void cocos2d::ccArrayFree | ( | ccArray *& | arr | ) |
Frees array after removing all remaining objects.
Silently ignores nil arr.
|
inline |
void cocos2d::tgaDestroy | ( | tImageTGA * | info | ) |
releases the memory used for the image
void cocos2d::ccArrayDoubleCapacity | ( | ccArray * | arr | ) |
Doubles array capacity.
Returns a Core Graphics size structure corresponding to the data in a given string.
pszContent | A string object whose contents are of the form "{w, h}", where w is the width and h is the height. The w and h values can be integer or float values. An example of a valid string is "{3.0,2.5}". The string is not localized, so items are always separated with a comma. |
|
inline |
void cocos2d::ccArrayEnsureExtraCapacity |
( | ccArray * | arr, |
ssize_t | extra | ||
) |
Increases array capacity such that max >= num + extra.
void cocos2d::ccArrayShrink | ( | ccArray * | arr | ) |
shrinks the array so the memory footprint corresponds with the number of items
ssize_t cocos2d::ccArrayGetIndexOfObject |
( | ccArray * | arr, |
Ref * | object | ||
) |
Returns index of first occurrence of object, NSNotFound if object not found.
|
inline |
Returns a random int between 0 and RAND_MAX.
bool cocos2d::ccArrayContainsObject | ( | ccArray * | arr, |
Ref * | object | ||
) |
Returns a Boolean value that indicates whether object is present in array.
void cocos2d::ccArrayAppendObject | ( | ccArray * | arr, |
Ref * | object | ||
) |
Appends an object.
Behavior undefined if array doesn't have enough capacity.
|
inline |
Returns a random float between -1 and 1.
It can be seeded using std::srand(seed);
void cocos2d::ccArrayAppendObjectWithResize |
( | ccArray * | arr, |
Ref * | object | ||
) |
Appends an object.
Capacity of arr is increased if needed.
void cocos2d::ccArrayAppendArray | ( | ccArray * | arr, |
ccArray * | plusArr | ||
) |
Appends objects from plusArr to arr.
Behavior undefined if arr doesn't have enough capacity.
void cocos2d::ccArrayAppendArrayWithResize |
( | ccArray * | arr, |
ccArray * | plusArr | ||
) |
Appends objects from plusArr to arr.
Capacity of arr is increased if needed.
void cocos2d::ccArrayInsertObjectAtIndex |
( | ccArray * | arr, |
Ref * | object, | ||
ssize_t | index | ||
) |
Inserts an object at index.
Swaps two objects.
|
inline |
Returns a random float between 0 and 1.
It can be seeded using std::srand(seed);
void cocos2d::ccArrayRemoveAllObjects |
( | ccArray * | arr | ) |
Removes all objects from arr.
void cocos2d::ccArrayRemoveObjectAtIndex |
( | ccArray * | arr, |
ssize_t | index, | ||
bool | releaseObj = true |
||
) |
Removes object at specified index and pushes back all subsequent objects.
Behavior undefined if index outside [0, num-1].
void cocos2d::ccArrayFastRemoveObjectAtIndex |
( | ccArray * | arr, |
ssize_t | index | ||
) |
Removes object at specified index and fills the gap with the last object, thereby avoiding the need to push back subsequent objects.
Behavior undefined if index outside [0, num-1].
void cocos2d::ccArrayFastRemoveObject |
( | ccArray * | arr, |
Ref * | object | ||
) |
void cocos2d::ccArrayRemoveObject | ( | ccArray * | arr, |
Ref * | object, | ||
bool | releaseObj = true |
||
) |
Searches for the first occurrence of object and removes it.
If object is not found the function has no effect.
void cocos2d::ccArrayRemoveArray | ( | ccArray * | arr, |
ccArray * | minusArr | ||
) |
Removes from arr all objects in minusArr.
For each object in minusArr, the first matching instance in arr will be removed.
void cocos2d::ccArrayFullRemoveArray |
( | ccArray * | arr, |
ccArray * | minusArr | ||
) |
Removes from arr all objects in minusArr.
For each object in minusArr, all matching instances in arr will be removed.
ccCArray* cocos2d::ccCArrayNew | ( | ssize_t | capacity | ) |
Allocates and initializes a new C array with specified capacity.
void cocos2d::ccCArrayFree | ( | ccCArray * | arr | ) |
Frees C array after removing all remaining values.
Silently ignores nil arr.
void cocos2d::ccCArrayDoubleCapacity |
( | ccCArray * | arr | ) |
Doubles C array capacity.
void CC_DLL cocos2d::ProfilingEndTimingBlock |
( | const char * | timerName | ) |
void CC_DLL cocos2d::ProfilingResetTimingBlock |
( | const char * | timerName | ) |
void cocos2d::ccCArrayEnsureExtraCapacity |
( | ccCArray * | arr, |
ssize_t | extra | ||
) |
Increases array capacity such that max >= num + extra.
ssize_t cocos2d::ccCArrayGetIndexOfValue |
( | ccCArray * | arr, |
void * | value | ||
) |
Returns index of first occurrence of value, NSNotFound if value not found.
bool cocos2d::ccCArrayContainsValue | ( | ccCArray * | arr, |
void * | value | ||
) |
Returns a Boolean value that indicates whether value is present in the C array.
void cocos2d::ccCArrayInsertValueAtIndex |
( | ccCArray * | arr, |
void * | value, | ||
ssize_t | index | ||
) |
Inserts a value at a certain position.
Behavior undefined if array doesn't have enough capacity
void cocos2d::ccCArrayAppendValue | ( | ccCArray * | arr, |
void * | value | ||
) |
Appends an value.
Behavior undefined if array doesn't have enough capacity.
void cocos2d::ccCArrayAppendValueWithResize |
( | ccCArray * | arr, |
void * | value | ||
) |
Appends an value.
Capacity of arr is increased if needed.
void cocos2d::ccCArrayAppendArray | ( | ccCArray * | arr, |
ccCArray * | plusArr | ||
) |
Appends values from plusArr to arr.
Behavior undefined if arr doesn't have enough capacity.
void cocos2d::ccCArrayAppendArrayWithResize |
( | ccCArray * | arr, |
ccCArray * | plusArr | ||
) |
Appends values from plusArr to arr.
Capacity of arr is increased if needed.
|
inline |
specalization for std::string
void cocos2d::ccCArrayRemoveAllValues |
( | ccCArray * | arr | ) |
Removes all values from arr.
void cocos2d::ccCArrayRemoveValueAtIndex |
( | ccCArray * | arr, |
ssize_t | index | ||
) |
Removes value at specified index and pushes back all subsequent values.
Behavior undefined if index outside [0, num-1].
|
inline |
template function to read array of value.
void cocos2d::ccCArrayFastRemoveValueAtIndex |
( | ccCArray * | arr, |
ssize_t | index | ||
) |
Removes value at specified index and fills the gap with the last value, thereby avoiding the need to push back subsequent values.
Behavior undefined if index outside [0, num-1].
void cocos2d::ccCArrayRemoveValue | ( | ccCArray * | arr, |
void * | value | ||
) |
Searches for the first occurrence of value and removes it.
If value is not found the function has no effect.
void cocos2d::ccCArrayRemoveArray | ( | ccCArray * | arr, |
ccCArray * | minusArr | ||
) |
Removes from arr all values in minusArr.
For each Value in minusArr, the first matching instance in arr will be removed.
void cocos2d::ccCArrayFullRemoveArray |
( | ccCArray * | arr, |
ccCArray * | minusArr | ||
) |
Removes from arr all values in minusArr.
For each value in minusArr, all matching instances in arr will be removed.
RefPtr<T> cocos2d::static_pointer_cast |
( | const RefPtr< U > & | r | ) |
Cast between RefPtr types statically.
RefPtr<T> cocos2d::dynamic_pointer_cast |
( | const RefPtr< U > & | r | ) |
Cast between RefPtr types dynamically.
CC_DLL const char* cocos2d::cocos2dVersion |
( | ) |
|
inline |
|
inline |
void CC_DLL cocos2d::ccDrawFree | ( | ) |
void CC_DLL cocos2d::ccDrawColor4B | ( | GLubyte | r, |
GLubyte | g, | ||
GLubyte | b, | ||
GLubyte | a | ||
) |
void CC_DLL cocos2d::ccDrawColor4F | ( | GLfloat | r, |
GLfloat | g, | ||
GLfloat | b, | ||
GLfloat | a | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void CC_DLL cocos2d::kmGLFreeAll | ( | void | ) |
void CC_DLL cocos2d::kmGLPushMatrix | ( | void | ) |
void CC_DLL cocos2d::kmGLPopMatrix | ( | void | ) |
void CC_DLL cocos2d::kmGLMatrixMode | ( | unsigned int | mode | ) |
void CC_DLL cocos2d::kmGLLoadIdentity |
( | void | ) |
void CC_DLL cocos2d::kmGLTranslatef | ( | float | x, |
float | y, | ||
float | z | ||
) |
void CC_DLL cocos2d::kmGLRotatef | ( | float | angle, |
float | x, | ||
float | y, | ||
float | z | ||
) |
void CC_DLL cocos2d::kmGLScalef | ( | float | x, |
float | y, | ||
float | z | ||
) |
CC_DLL const AffineTransform AffineTransformIdentity |
const float CC_DLL PHYSICS_INFINITY |
std::string CC_DLL s_attributeNames[] |
const std::string CC_DLL STD_STRING_EMPTY |
CC_DLL const ValueMapIntKey ValueMapIntKeyNull |
CC_DLL const ValueVector ValueVectorNull |