cocos2d-x  3.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
cocos2d Namespace Reference

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
 

Typedefs

typedef std::function< void(Ref *)> ccMenuCallback
typedef void(Ref::* SEL_CallFunc )()
typedef void(Ref::* SEL_CallFuncN )(Node *)
typedef void(Ref::* SEL_CallFuncND )(Node *, void *)
typedef void(Ref::* SEL_CallFuncO )(Ref *)
typedef void(Ref::* SEL_MenuHandler )(Ref *)
typedef void(Ref::* SEL_SCHEDULE )(float)
typedef std::function< void(float)> ccSchedulerFunc
typedef std::vector< ValueValueVector
typedef std::unordered_map
< std::string, Value
ValueMap
typedef std::unordered_map
< int, Value
ValueMapIntKey
typedef struct unz_file_info_s unz_file_info
typedef Ref CCObject
typedef Ref Object
typedef Event CCEvent
typedef DataVisitor CCDataVisitor
typedef PrettyPrinter CCPrettyPrinter
typedef Acceleration CCAcceleration
typedef TextureAtlas CCTextureAtlas
typedef Configuration CCConfiguration
typedef PointArray CCPointArray
typedef RemoveSelf CCRemoveSelf
typedef IMEDelegate CCIMEDelegate
typedef IMEKeyboardNotificationInfo CCIMEKeyboardNotificationInfo
typedef TextFieldDelegate CCTextFieldDelegate
typedef TextFieldTTF CCTextFieldTTF
typedef __NotificationCenter CCNotificationCenter
typedef __NotificationCenter NotificationCenter
typedef Image CCImage
typedef UserDefault CCUserDefault
typedef Action CCAction
typedef FiniteTimeAction CCFiniteTimeAction
typedef Speed CCSpeed
typedef Follow CCFollow
typedef GLProgram CCGLProgram
typedef Touch CCTouch
typedef Texture2D CCTexture2D
typedef Node CCNode
typedef Node CCNodeRGBA
typedef Node CCRGBAProtocol
typedef SpriteFrame CCSpriteFrame
typedef AnimationFrame CCAnimationFrame
typedef Animation CCAnimation
typedef ActionInterval CCActionInterval
typedef Sequence CCSequence
typedef Repeat CCRepeat
typedef RepeatForever CCRepeatForever
typedef Spawn CCSpawn
typedef RotateTo CCRotateTo
typedef RotateBy CCRotateBy
typedef MoveBy CCMoveBy
typedef MoveTo CCMoveTo
typedef SkewTo CCSkewTo
typedef SkewBy CCSkewBy
typedef JumpBy CCJumpBy
typedef JumpTo CCJumpTo
typedef BezierBy CCBezierBy
typedef BezierTo CCBezierTo
typedef ScaleTo CCScaleTo
typedef ScaleBy CCScaleBy
typedef Blink CCBlink
typedef FadeIn CCFadeIn
typedef FadeOut CCFadeOut
typedef FadeTo CCFadeTo
typedef TintTo CCTintTo
typedef TintBy CCTintBy
typedef DelayTime CCDelayTime
typedef Animate CCAnimate
typedef TargetedAction CCTargetedAction
typedef ActionCamera CCActionCamera
typedef OrbitCamera CCOrbitCamera
typedef ActionManager CCActionManager
typedef ActionEase CCActionEase
typedef EaseRateAction CCEaseRateAction
typedef EaseIn CCEaseIn
typedef EaseOut CCEaseOut
typedef EaseInOut CCEaseInOut
typedef EaseExponentialIn CCEaseExponentialIn
typedef EaseExponentialOut CCEaseExponentialOut
typedef EaseExponentialInOut CCEaseExponentialInOut
typedef EaseSineIn CCEaseSineIn
typedef EaseSineOut CCEaseSineOut
typedef EaseSineInOut CCEaseSineInOut
typedef EaseElastic CCEaseElastic
typedef EaseElasticIn CCEaseElasticIn
typedef EaseElasticOut CCEaseElasticOut
typedef EaseElasticInOut CCEaseElasticInOut
typedef EaseBounce CCEaseBounce
typedef EaseBounceIn CCEaseBounceIn
typedef EaseBounceOut CCEaseBounceOut
typedef EaseBounceInOut CCEaseBounceInOut
typedef EaseBackIn CCEaseBackIn
typedef EaseBackOut CCEaseBackOut
typedef EaseBackInOut CCEaseBackInOut
typedef ActionInstant CCActionInstant
typedef Show CCShow
typedef Hide CCHide
typedef ToggleVisibility CCToggleVisibility
typedef FlipX CCFlipX
typedef FlipY CCFlipY
typedef Place CCPlace
typedef CallFunc CCCallFunc
typedef CallFuncN CCCallFuncN
typedef __CCCallFuncND CCCallFuncND
typedef __CCCallFuncO CCCallFuncO
typedef GridAction CCGridAction
typedef Grid3DAction CCGrid3DAction
typedef TiledGrid3DAction CCTiledGrid3DAction
typedef StopGrid CCStopGrid
typedef ReuseGrid CCReuseGrid
typedef Waves3D CCWaves3D
typedef FlipX3D CCFlipX3D
typedef FlipY3D CCFlipY3D
typedef Lens3D CCLens3D
typedef Ripple3D CCRipple3D
typedef Shaky3D CCShaky3D
typedef Liquid CCLiquid
typedef Waves CCWaves
typedef Twirl CCTwirl
typedef PageTurn3D CCPageTurn3D
typedef ProgressTo CCProgressTo
typedef ProgressFromTo CCProgressFromTo
typedef ShakyTiles3D CCShakyTiles3D
typedef ShatteredTiles3D CCShatteredTiles3D
typedef ShuffleTiles CCShuffleTiles
typedef FadeOutTRTiles CCFadeOutTRTiles
typedef FadeOutBLTiles CCFadeOutBLTiles
typedef FadeOutUpTiles CCFadeOutUpTiles
typedef FadeOutDownTiles CCFadeOutDownTiles
typedef TurnOffTiles CCTurnOffTiles
typedef WavesTiles3D CCWavesTiles3D
typedef JumpTiles3D CCJumpTiles3D
typedef SplitRows CCSplitRows
typedef SplitCols CCSplitCols
typedef ActionTween CCActionTween
typedef CardinalSplineTo CCCardinalSplineTo
typedef CardinalSplineBy CCCardinalSplineBy
typedef CatmullRomTo CCCatmullRomTo
typedef CatmullRomBy CCCatmullRomBy
typedef AtlasNode CCAtlasNode
typedef TextureProtocol CCTextureProtocol
typedef BlendProtocol CCBlendProtocol
typedef DrawNode CCDrawNode
typedef Camera CCCamera
typedef LabelAtlas CCLabelAtlas
typedef LabelProtocol CCLabelProtocol
typedef Director CCDirector
typedef GridBase CCGridBase
typedef Grid3D CCGrid3D
typedef TiledGrid3D CCTiledGrid3D
typedef Sprite CCSprite
typedef SpriteBatchNode CCSpriteBatchNode
typedef Layer CCLayer
typedef Layer CCLayerRGBA
typedef LayerColor CCLayerColor
typedef LayerGradient CCLayerGradient
typedef LayerMultiplex CCLayerMultiplex
typedef Scene CCScene
typedef TransitionEaseScene CCTransitionEaseScene
typedef TransitionScene CCTransitionScene
typedef TransitionSceneOriented CCTransitionSceneOriented
typedef TransitionRotoZoom CCTransitionRotoZoom
typedef TransitionJumpZoom CCTransitionJumpZoom
typedef TransitionMoveInL CCTransitionMoveInL
typedef TransitionMoveInR CCTransitionMoveInR
typedef TransitionMoveInT CCTransitionMoveInT
typedef TransitionMoveInB CCTransitionMoveInB
typedef TransitionSlideInL CCTransitionSlideInL
typedef TransitionSlideInR CCTransitionSlideInR
typedef TransitionSlideInB CCTransitionSlideInB
typedef TransitionSlideInT CCTransitionSlideInT
typedef TransitionShrinkGrow CCTransitionShrinkGrow
typedef TransitionFlipX CCTransitionFlipX
typedef TransitionFlipY CCTransitionFlipY
typedef TransitionFlipAngular CCTransitionFlipAngular
typedef TransitionZoomFlipX CCTransitionZoomFlipX
typedef TransitionZoomFlipY CCTransitionZoomFlipY
typedef TransitionZoomFlipAngular CCTransitionZoomFlipAngular
typedef TransitionFade CCTransitionFade
typedef TransitionCrossFade CCTransitionCrossFade
typedef TransitionTurnOffTiles CCTransitionTurnOffTiles
typedef TransitionSplitCols CCTransitionSplitCols
typedef TransitionSplitRows CCTransitionSplitRows
typedef TransitionFadeTR CCTransitionFadeTR
typedef TransitionFadeBL CCTransitionFadeBL
typedef TransitionFadeUp CCTransitionFadeUp
typedef TransitionFadeDown CCTransitionFadeDown
typedef TransitionPageTurn CCTransitionPageTurn
typedef TransitionProgress CCTransitionProgress
typedef TransitionProgressRadialCCW CCTransitionProgressRadialCCW
typedef TransitionProgressRadialCW CCTransitionProgressRadialCW
typedef
TransitionProgressHorizontal 
CCTransitionProgressHorizontal
typedef TransitionProgressVertical CCTransitionProgressVertical
typedef TransitionProgressInOut CCTransitionProgressInOut
typedef TransitionProgressOutIn CCTransitionProgressOutIn
typedef MenuItem CCMenuItem
typedef MenuItemLabel CCMenuItemLabel
typedef MenuItemAtlasFont CCMenuItemAtlasFont
typedef MenuItemFont CCMenuItemFont
typedef MenuItemSprite CCMenuItemSprite
typedef MenuItemImage CCMenuItemImage
typedef MenuItemToggle CCMenuItemToggle
typedef Menu CCMenu
typedef ClippingNode CCClippingNode
typedef MotionStreak CCMotionStreak
typedef ProgressTimer CCProgressTimer
typedef RenderTexture CCRenderTexture
typedef ParticleBatchNode CCParticleBatchNode
typedef ParticleSystem CCParticleSystem
typedef ParticleSystemQuad CCParticleSystemQuad
typedef ParticleFire CCParticleFire
typedef ParticleFireworks CCParticleFireworks
typedef ParticleSun CCParticleSun
typedef ParticleGalaxy CCParticleGalaxy
typedef ParticleFlower CCParticleFlower
typedef ParticleMeteor CCParticleMeteor
typedef ParticleSpiral CCParticleSpiral
typedef ParticleExplosion CCParticleExplosion
typedef ParticleSmoke CCParticleSmoke
typedef ParticleSnow CCParticleSnow
typedef ParticleRain CCParticleRain
typedef FileUtils CCFileUtils
typedef Application CCApplication
typedef GLProgramCache CCShaderCache
typedef GLProgramCache ShaderCache
typedef AnimationCache CCAnimationCache
typedef SpriteFrameCache CCSpriteFrameCache
typedef TextureCache CCTextureCache
typedef ParallaxNode CCParallaxNode
typedef TMXObjectGroup CCTMXObjectGroup
typedef TMXLayerInfo CCTMXLayerInfo
typedef TMXTilesetInfo CCTMXTilesetInfo
typedef TMXMapInfo CCTMXMapInfo
typedef TMXLayer CCTMXLayer
typedef TMXTiledMap CCTMXTiledMap
typedef TileMapAtlas CCTileMapAtlas
typedef Timer CCTimer
typedef Scheduler CCScheduler
typedef GLView CCEGLView
typedef Component CCComponent
typedef AffineTransform CCAffineTransform
typedef Vec2 CCPoint
typedef Size CCSize
typedef Rect CCRect
typedef Color3B ccColor3B
typedef Color4F ccColor4F
typedef Color4B ccColor4B
typedef Vec2 ccVertex2F
typedef Vec2 Vertex2F
typedef Vec3 ccVertex3F
typedef Vec3 Vertex3F
typedef Tex2F ccTex2F
typedef PointSprite ccPointSprite
typedef Quad2 ccQuad2
typedef Quad3 ccQuad3
typedef V2F_C4B_T2F ccV2F_C4B_T2F
typedef V2F_C4F_T2F ccV2F_C4F_T2F
typedef V3F_C4B_T2F ccV3F_C4B_T2F
typedef V2F_C4B_T2F_Triangle ccV2F_C4B_T2F_Triangle
typedef V2F_C4B_T2F_Quad ccV2F_C4B_T2F_Quad
typedef V3F_C4B_T2F_Quad ccV3F_C4B_T2F_Quad
typedef V2F_C4F_T2F_Quad ccV2F_C4F_T2F_Quad
typedef BlendFunc ccBlendFunc
typedef T2F_Quad ccT2F_Quad
typedef AnimationFrameData ccAnimationFrameData
typedef FontShadow ccFontShadow
typedef FontStroke ccFontStroke
typedef FontDefinition ccFontDefinition
typedef TextVAlignment CCVerticalTextAlignment
typedef TextHAlignment CCTextAlignment
typedef ProgressTimer::Type CCProgressTimerType
typedef void * CCZone
typedef ProgressTimer::Type ProgressTimerType
typedef Director::Projection ccDirectorProjection
 Possible OpenGL projections used by director. More...
 
typedef Texture2D::PixelFormat CCTexture2DPixelFormat
typedef
ParticleSystem::PositionType 
tPositionType
typedef Menu::State tMenuState
typedef Touch::DispatchMode ccTouchesMode
typedef Image::Format tImageFormat
typedef
TransitionScene::Orientation 
tOrientation
typedef LanguageType ccLanguageType
typedef Application::Platform TargetPlatform
typedef int ccGLServerState
typedef Data CCData
typedef __Set CCSet
typedef __SetIterator CCSetIterator
typedef __Set Set
typedef __SetIterator SetIterator
typedef __Array CCArray
typedef __Array Array
typedef __Dictionary Dictionary
typedef __Dictionary CCDictionary
typedef __Double Double
typedef __Double CCDouble
typedef __Float Float
typedef __Float CCFloat
typedef __Integer Integer
typedef __Integer CCInteger
typedef __Bool Bool
typedef __Bool CCBool
typedef __String CCString
typedef __String String
typedef __RGBAProtocol RGBAProtocol
typedef __NodeRGBA NodeRGBA
typedef __LayerRGBA LayerRGBA
typedef float kmScalar
typedef Mat4 kmMat4
typedef Vec3 kmVec3
typedef Vec2 kmVec2
typedef Vec4 kmVec4
typedef std::set< Ref * >::iterator __SetIterator
typedef Vec2 Vect
typedef std::function< bool(PhysicsWorld
&world, const
PhysicsRayCastInfo &info, void
*data)> 
PhysicsRayCastCallbackFunc
 Called for each fixture found in the query. More...
 
typedef std::function< bool(PhysicsWorld
&, PhysicsShape &, void *)> 
PhysicsQueryRectCallbackFunc
typedef
PhysicsQueryRectCallbackFunc 
PhysicsQueryPointCallbackFunc
typedef unsigned char CC_XML_CHAR
typedef HANDLE pthread_t
typedef HANDLE pthread_mutex_t
typedef int pthread_cond_t
typedef void(* GLInfoFunction )(GLuint program, GLenum pname, GLint *params)
typedef void(* GLLogFunction )(GLuint program, GLsizei bufsize, GLsizei *length, GLchar *infolog)
typedef struct _MipmapInfo MipmapInfo
typedef int LUA_FUNCTION
typedef int LUA_TABLE
typedef int LUA_STRING
typedef std::map< std::string,
LuaValue
LuaValueDict
typedef
LuaValueDict::const_iterator 
LuaValueDictIterator
typedef std::list< LuaValueLuaValueArray
typedef
LuaValueArray::const_iterator 
LuaValueArrayIterator
typedef std::vector
< ScheduleHandlerDelegate * > 
VecShedule
typedef std::map
< cocos2d::Node *, VecShedule
MapNodeSchedules

Enumerations

enum  CameraFlag {
  DEFAULT = 1, USER1 = 1 << 1, USER2 = 1 << 2, USER3 = 1 << 3,
  USER4 = 1 << 4, USER5 = 1 << 5, USER6 = 1 << 6, USER7 = 1 << 7,
  USER8 = 1 << 8
}
 Note: Scene creates a default camera. More...
 
enum  { kComponentOnEnter, kComponentOnExit, kComponentOnUpdate }
 
enum  GlyphCollection { DYNAMIC, NEHE, ASCII, CUSTOM }
 
enum  LabelEffect { NORMAL, OUTLINE, SHADOW, GLOW }
 
enum  LightType { DIRECTIONAL = 0, POINT = 1, SPOT = 2, AMBIENT = 3 }
 
enum  LightFlag {
  LIGHT0 = 1, LIGHT1 = 1 << 1, LIGHT2 = 1 << 2, LIGHT3 = 1 << 3,
  LIGHT4 = 1 << 4, LIGHT5 = 1 << 5, LIGHT6 = 1 << 6, LIGHT7 = 1 << 7,
  LIGHT8 = 1 << 8, LIGHT9 = 1 << 9, LIGHT10 = 1 << 10, LIGHT11 = 1 << 11,
  LIGHT12 = 1 << 12, LIGHT13 = 1 << 13, LIGHT14 = 1 << 14, LIGHT15 = 1 << 15
}
 
enum  {
  kNodeOnEnter, kNodeOnExit, kNodeOnEnterTransitionDidFinish, kNodeOnExitTransitionDidStart,
  kNodeOnCleanup
}
 
enum  { TMXOrientationOrtho, TMXOrientationHex, TMXOrientationIso, TMXOrientationStaggered }
 Possible orientations of the TMX map. More...
 
enum  { TMXLayerAttribNone = 1 << 0, TMXLayerAttribBase64 = 1 << 1, TMXLayerAttribGzip = 1 << 2, TMXLayerAttribZlib = 1 << 3 }
 
enum  {
  TMXPropertyNone, TMXPropertyMap, TMXPropertyLayer, TMXPropertyObjectGroup,
  TMXPropertyObject, TMXPropertyTile
}
 
enum  TMXTileFlags {
  kTMXTileHorizontalFlag = 0x80000000, kTMXTileVerticalFlag = 0x40000000, kTMXTileDiagonalFlag = 0x20000000, kTMXFlipedAll = (kTMXTileHorizontalFlag|kTMXTileVerticalFlag|kTMXTileDiagonalFlag),
  kTMXFlippedMask = ~(kTMXFlipedAll)
}
 
enum  EvaluateType { INT_LINEAR, INT_NEAR, INT_QUAT_SLERP, INT_USER_FUNCTION }
 Evaluate Type. More...
 
enum  MATRIX_STACK_TYPE { MATRIX_STACK_MODELVIEW, MATRIX_STACK_PROJECTION, MATRIX_STACK_TEXTURE }
 Class that creates and handles the main Window and manages how and when to execute the Scenes. More...
 
enum  {
  TGA_OK, TGA_ERROR_FILE_OPEN, TGA_ERROR_READING_FILE, TGA_ERROR_INDEXED_COLOR,
  TGA_ERROR_MEMORY, TGA_ERROR_COMPRESSED_FILE
}
 
enum  { CCZ_COMPRESSION_ZLIB, CCZ_COMPRESSION_BZIP2, CCZ_COMPRESSION_GZIP, CCZ_COMPRESSION_NONE }
 
enum  LanguageType {
  ENGLISH = 0, CHINESE, FRENCH, ITALIAN,
  GERMAN, SPANISH, DUTCH, RUSSIAN,
  KOREAN, JAPANESE, HUNGARIAN, PORTUGUESE,
  ARABIC, NORWEGIAN, POLISH
}
 Enum the language type supported now. More...
 
enum  PointerEventType { PointerPressed, PointerMoved, PointerReleased }
 
enum  Cocos2dEvent { ShowKeyboard, HideKeyboard, TerminateApp }
 
enum  Cocos2dKeyEvent : int { Text, Escape, Back, Enter }
 
enum  LuaBridgeError {
  kLuaBridgeErrorOk = 0, kLuaBridgeErrorInvalidParameters = -1, kLuaBridgeErrorClassNotFound = -2, kLuaBridgeErrorMethodNotFound = -3,
  kLuaBridgeErrorExceptionOccurred = -4, kLuaBridgeErrorMethodSignature = -5, kLuaBridgeErrorJavaVMError = -6
}
 
enum  LuaValueType {
  LuaValueTypeInt, LuaValueTypeFloat, LuaValueTypeBoolean, LuaValueTypeString,
  LuaValueTypeDict, LuaValueTypeArray, LuaValueTypeObject
}
 

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...
 
var  ( var p0, var p1, var p2, var p3, var tension, var t)
 Returns the Cardinal Spline position for a given set of control points, tension and time. More...
 
local  ( local p0, local p1, local p2, local p3, local tension, local t)
 Returns the Cardinal Spline position for a given set of control points, tension and time. More...
 
bool CC_DLL  (Node *n1, Node *n2)
local  ( local n1, local n2)
template<>
bool  (std::string *ptr)
 specalization for std::string More...
 
template<>
var  ( var ptr)
 specalization for std::string More...
 
template<>
bool  (unsigned int *length, std::vector< std::string > *values)
 template function to read array of value. More...
 
template<>
var  ( var length, var values)
 template function to read array of value. More...
 
template<>
local  ( local length, local values)
 template function to read array of value. More...
 
int CC_DLL  (const unsigned char *in, unsigned int inLength, unsigned char **out)
 Decodes a 64base encoded memory. More...
 
var  ( var in, var inLength, var out)
 Decodes a 64base encoded memory. More...
 
local  ( local in, local inLength, local 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...
 
var  ( var capacity)
 Allocates and initializes a new array with specified capacity. More...
 
local  ( local 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...
 
var  ( var arr, var extra)
 Increases array capacity such that max >= num + extra. More...
 
local  ( local arr, local 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...
 
var  ( var arr, var object)
 Returns index of first occurrence of object, NSNotFound if object not found. More...
 
local  ( local arr, local 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...
 
var  ( var arr, var object)
 Appends an object. More...
 
local  ( local arr, local object)
 Appends an object. More...
 
void  (ccArray *arr, ccArray *plusArr)
 Appends objects from plusArr to arr. More...
 
var  ( var arr, var plusArr)
 Appends objects from plusArr to arr. More...
 
local  ( local arr, local plusArr)
 Appends objects from plusArr to arr. More...
 
void  (ccArray *arr, ccArray *plusArr)
 Appends objects from plusArr to arr. More...
 
var  ( var arr, var plusArr)
 Appends objects from plusArr to arr. More...
 
local  ( local arr, local plusArr)
 Appends objects from plusArr to arr. More...
 
void  (ccArray *arr, Ref *object, ssize_t index)
 Inserts an object at index. More...
 
var  ( var arr, var object, var index)
 Inserts an object at index. More...
 
local  ( local arr, local object, local index)
 Inserts an object at index. More...
 
void  (ccArray *arr, ssize_t index1, ssize_t index2)
 Swaps two objects. More...
 
var  ( var arr, var index1, var index2)
 Swaps two objects. More...
 
local  ( local arr, local index1, local 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...
 
var  ( var arr, var index, var true)
 Removes object at specified index and pushes back all subsequent objects. More...
 
local  ( local arr, local index, local 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...
 
var  ( var arr, var index)
 Removes object at specified index and fills the gap with the last object, thereby avoiding the need to push back subsequent objects. More...
 
local  ( local arr, local 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)
var  ( var arr, var object)
local  ( local arr, local object)
void  (ccArray *arr, Ref *object, bool releaseObj=true)
 Searches for the first occurrence of object and removes it. More...
 
var  ( var arr, var object, var true)
 Searches for the first occurrence of object and removes it. More...
 
local  ( local arr, local object, local 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...
 
local  ( local arr, local minusArr)
 Removes from arr all objects in minusArr. More...
 
void  (ccArray *arr, ccArray *minusArr)
 Removes from arr all objects in minusArr. More...
 
var  ( var arr, var minusArr)
 Removes from arr all objects in minusArr. More...
 
local  ( local arr, local 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...
 
var  ( var arr)
 Doubles C array capacity. More...
 
local  ( local arr)
 Doubles C array capacity. More...
 
void  (ccCArray *arr, ssize_t extra)
 Increases array capacity such that max >= num + extra. More...
 
var  ( var arr, var extra)
 Increases array capacity such that max >= num + extra. More...
 
local  ( local arr, local 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...
 
var  ( var arr, var value, var index)
 Inserts a value at a certain position. More...
 
local  ( local arr, local value, local index)
 Inserts a value at a certain position. More...
 
void  (ccCArray *arr, void *value)
 Appends an value. More...
 
var  ( var arr, var value)
 Appends an value. More...
 
local  ( local arr, local value)
 Appends an value. More...
 
void  (ccCArray *arr, void *value)
 Appends an value. More...
 
var  ( var arr, var value)
 Appends an value. More...
 
local  ( local arr, local value)
 Appends an value. More...
 
void  (ccCArray *arr, ccCArray *plusArr)
 Appends values from plusArr to arr. More...
 
var  ( var arr, var plusArr)
 Appends values from plusArr to arr. More...
 
local  ( local arr, local 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...
 
var  ( var arr)
 Removes all values from arr. More...
 
local  ( local 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...
 
var  ( var arr, var index)
 Removes value at specified index and pushes back all subsequent values. More...
 
local  ( local arr, local 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...
 
var  ( var arr, var index)
 Removes value at specified index and fills the gap with the last value, thereby avoiding the need to push back subsequent values. More...
 
local  ( local arr, local 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...
 
var  ( var arr, var minusArr)
 Removes from arr all values in minusArr. More...
 
local  ( local arr, local minusArr)
 Removes from arr all values in minusArr. More...
 
void CC_DLL  (const char *format,...) CC_FORMAT_PRINTF(1
 Output Debug message. More...
 
var  ( var format)
 Output Debug message. More...
 
local  ( local format)
 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)
var  ( var timerName)
local  ( local timerName)
void CC_DLL  (const char *timerName)
var  ( var timerName)
local  ( local timerName)
void CC_DLL  (const char *timerName)
var  ( var timerName)
local  ( local timerName)
template<typename T >
(T min, T max)
 returns a random value between min and max More...
 
template<>
float  (float min, float max)
template<>
local  ( local min, local max)
template<>
long double  (long double min, long double max)
template<>
var  ( var min, var max)
template<>
local  ( local min, local max)
template<>
double  (double min, double max)
template<>
var  ( var min, var max)
template<>
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...
 
var  ()
 Returns a random float between -1 and 1. More...
 
local  ()
 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...
 
var  ( var value)
 returns the Next Power of Two value. More...
 
local  ( local 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)
var  ( var info)
local  ( local info)
void  (tImageTGA *info)
 releases the memory used for the image More...
 
var  ( var info)
 releases the memory used for the image More...
 
local  ( local info)
 releases the memory used for the image More...
 
CC_DLL const char *  ()
var  ()
Vec2  (float x, float y)
 Helper macro that creates a Vec2. More...
 
var  ( var x, var y)
 Helper macro that creates a Vec2. More...
 
local  ( local x, local y)
 Helper macro that creates a Vec2. More...
 
Vec2  (float x, float y)
var  ( var x, var y)
local  ( local x, local y)
Size  (float width, float height)
var  ( var width, var height)
local  ( local width, local height)
Rect  (float x, float y, float width, float height)
local  ( local x, local y, local width, local height)
void CC_DLL  (const char *pszFormat,...) CC_FORMAT_PRINTF(1
 use log() instead More...
 
var  ( var pszFormat)
 use log() instead More...
 
local  ( local pszFormat)
 use log() instead More...
 
void CC_DLL void CC_DLL  ()
void CC_DLL  ()
var  ()
local  ()
void CC_DLL  (const Vec2 &point)
void CC_DLL  (const Vec2 *points, unsigned int numberOfPoints)
var  ( var points, var numberOfPoints)
local  ( local points, local numberOfPoints)
void CC_DLL  (const Vec2 &origin, const Vec2 &destination)
void CC_DLL  (Vec2 origin, Vec2 destination)
local  ( local origin, local destination)
void CC_DLL  (Vec2 origin, Vec2 destination, Color4F color)
var  ( var origin, var destination, var color)
local  ( local origin, local destination, local 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 &center, float radius, float angle, unsigned int segments, bool drawLineToCenter, float scaleX, float scaleY)
var  ( var center, var radius, var angle, var segments, var drawLineToCenter, var scaleX, var scaleY)
local  ( local center, local radius, local angle, local segments, local drawLineToCenter, local scaleX, local scaleY)
void CC_DLL  (const Vec2 &center, float radius, float angle, unsigned int segments, bool drawLineToCenter)
void CC_DLL  (const Vec2 &center, float radius, float angle, unsigned int segments, float scaleX, float scaleY)
var  ( var center, var radius, var angle, var segments, var scaleX, var scaleY)
local  ( local center, local radius, local angle, local segments, local scaleX, local scaleY)
void CC_DLL  (const Vec2 &center, 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)
var  ( var arrayOfControlPoints, var segments)
local  ( local arrayOfControlPoints, local segments)
void CC_DLL  (PointArray *config, float tension, unsigned int segments)
var  ( var config, var tension, var segments)
local  ( local config, local tension, local segments)
void CC_DLL  (GLubyte r, GLubyte g, GLubyte b, GLubyte a)
var  ( var r, var g, var b, var a)
local  ( local r, local g, local b, local a)
void CC_DLL  (GLfloat r, GLfloat g, GLfloat b, GLfloat a)
void CC_DLL  (GLfloat pointSize)
var  ( var pointSize)
local  ( local pointSize)
void CC_DLL  ()
var  ()
local  ()
void CC_DLL  (GLuint program)
var  ( var program)
local  ( local program)
void CC_DLL  (GLuint program)
var  ( var program)
local  ( local program)
void CC_DLL  (GLenum sfactor, GLenum dfactor)
var  ( var sfactor, var dfactor)
local  ( local sfactor, local dfactor)
void CC_DLL  ()
void CC_DLL  ()
var  ()
local  ()
void CC_DLL  (unsigned int flags)
var  ( var flags)
local  ( local flags)
void CC_DLL  (GLuint textureId)
var  ( var textureId)
local  ( local textureId)
void CC_DLL  (GLuint textureUnit, GLuint textureId)
var  ( var textureUnit, var textureId)
local  ( local textureUnit, local textureId)
void CC_DLL  (GLuint textureId)
var  ( var textureId)
local  ( local textureId)
void CC_DLL  (GLuint textureUnit, GLuint textureId)
var  ( var textureUnit, var textureId)
local  ( local textureUnit, local textureId)
void CC_DLL  (GLuint vaoId)
void CC_DLL  (int flags)
local  ( local flags)
void CC_DLL  (void)
var  ()
local  ()
void CC_DLL  (void)
var  ()
local  ()
void CC_DLL  (void)
local  ()
void CC_DLL  (unsigned int mode)
var  ( var mode)
local  ( local mode)
void CC_DLL  (void)
var  ()
local  ()
void CC_DLL  (const Mat4 *pIn)
local  ( local pIn)
void CC_DLL  (const Mat4 *pIn)
var  ( var pIn)
local  ( local pIn)
void CC_DLL  (float x, float y, float z)
local  ( local x, local y, local z)
void CC_DLL  (float angle, float x, float y, float z)
void CC_DLL  (float x, float y, float z)
var  ( var x, var y, var z)
local  ( local x, local y, local z)
void CC_DLL  (unsigned int mode, Mat4 *pOut)
var  ( var mode, var pOut)
local  ( local mode, local pOut)
CC_DLL Mat4 (Mat4 *pOut, const float *pMat)
var  ( var pOut, var pMat)
local  ( local pOut, local pMat)
CC_DLL Mat4 (Mat4 *pOut, const Mat4 *pIn)
var  ( var pOut, var pIn)
local  ( local pOut, local pIn)
CC_DLL Mat4 (Mat4 *pOut)
var  ( var pOut)
local  ( local pOut)
CC_DLL Mat4 (Mat4 *pOut, const Mat4 *pM)
var  ( var pOut, var pM)
local  ( local pOut, local pM)
CC_DLL Mat4 (Mat4 *pOut, const Mat4 *pIn)
local  ( local pOut, local pIn)
CC_DLL Mat4 (Mat4 *pOut, const Mat4 *pM1, const Mat4 *pM2)
local  ( local pOut, local pM1, local pM2)
CC_DLL Mat4 (Mat4 *pOut, const float x, const float y, const float z)
var  ( var pOut, var x, var y, var z)
local  ( local pOut, local x, local y, local z)
CC_DLL Mat4 (Mat4 *pOut, const float radians)
var  ( var pOut, var radians)
local  ( local pOut, local radians)
CC_DLL Mat4 (Mat4 *pOut, const float radians)
CC_DLL Mat4 (Mat4 *pOut, const float radians)
local  ( local pOut, local radians)
CC_DLL Mat4 (Mat4 *pOut, const Vec3 *axis, float radians)
var  ( var pOut, var axis, var radians)
local  ( local pOut, local axis, local radians)
CC_DLL Mat4 (Mat4 *pOut, const float x, const float y, const float z)
var  ( var pOut, var x, var y, var z)
local  ( local pOut, local x, local y, local z)
CC_DLL Mat4 (Mat4 *pOut, float fovY, float aspect, float zNear, float zFar)
var  ( var pOut, var fovY, var aspect, var zNear, var zFar)
local  ( local pOut, local fovY, local aspect, local zNear, local 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)
var  ( var pIn)
local  ( local pIn)
CC_DLL float  (const Vec3 *pIn)
var  ( var pIn)
local  ( local pIn)
CC_DLL Vec3 (Vec3 *pOut, const Vec3 *pV1, const Vec3 *pV2, float t)
local  ( local pOut, local pV1, local pV2, local t)
CC_DLL Vec3 (Vec3 *pOut, const Vec3 *pIn)
var  ( var pOut, var pIn)
local  ( local pOut, local pIn)
CC_DLL Vec3 (Vec3 *pOut, const Vec3 *pV1, const Vec3 *pV2)
var  ( var pOut, var pV1, var pV2)
local  ( local pOut, local pV1, local pV2)
CC_DLL float  (const Vec3 *pV1, const Vec3 *pV2)
var  ( var pV1, var pV2)
local  ( local pV1, local pV2)
CC_DLL Vec3 (Vec3 *pOut, const Vec3 *pV1, const Vec3 *pV2)
local  ( local pOut, local pV1, local pV2)
CC_DLL Vec3 (Vec3 *pOut, const Vec3 *pV1, const Vec3 *pV2)
var  ( var pOut, var pV1, var pV2)
local  ( local pOut, local pV1, local pV2)
CC_DLL Vec3 (Vec3 *pOut, const Vec3 *pV1, const Mat4 *pM)
local  ( local pOut, local pV1, local pM)
CC_DLL Vec3 (Vec3 *pOut, const Vec3 *pV, const Mat4 *pM)
var  ( var pOut, var pV, var pM)
local  ( local pOut, local pV, local pM)
CC_DLL Vec3 (Vec3 *pOut, const Vec3 *pV, const Mat4 *pM)
local  ( local pOut, local pV, local pM)
CC_DLL Vec3 (Vec3 *pOut, const Vec3 *pIn, const float s)
local  ( local pOut, local pIn, local s)
CC_DLL Vec3 (Vec3 *pOut, const Vec3 *pIn)
var  ( var pOut, var pIn)
local  ( local pOut, local pIn)
CC_DLL Vec3 (Vec3 *pOut)
local  ( local pOut)
CC_DLL Vec2 (Vec2 *pOut, float x, float y)
local  ( local pOut, local x, local y)
CC_DLL float  (const Vec2 *pIn)
var  ( var pIn)
local  ( local pIn)
CC_DLL float  (const Vec2 *pIn)
var  ( var pIn)
local  ( local pIn)
CC_DLL Vec2 (Vec2 *pOut, const Vec2 *pIn)
local  ( local pOut, local pIn)
CC_DLL Vec2 (Vec2 *pOut, const Vec2 *pV1, const Vec2 *pV2, float t)
var  ( var pOut, var pV1, var pV2, var t)
local  ( local pOut, local pV1, local pV2, local t)
CC_DLL Vec2 (Vec2 *pOut, const Vec2 *pV1, const Vec2 *pV2)
var  ( var pOut, var pV1, var pV2)
local  ( local pOut, local pV1, local pV2)
CC_DLL float  (const Vec2 *pV1, const Vec2 *pV2)
var  ( var pV1, var pV2)
local  ( local pV1, local pV2)
CC_DLL Vec2 (Vec2 *pOut, const Vec2 *pV1, const Vec2 *pV2)
CC_DLL Vec2 (Vec2 *pOut, const Vec2 *pIn, const float s)
local  ( local pOut, local pIn, local s)
CC_DLL Vec2 (Vec2 *pOut, const Vec2 *pIn)
var  ( var pOut, var pIn)
local  ( local pOut, local 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)
local  ( local pOut, local pV1, local pV2)
CC_DLL float  (const Vec4 *pV1, const Vec4 *pV2)
var  ( var pV1, var pV2)
local  ( local pV1, local pV2)
CC_DLL float  (const Vec4 *pIn)
var  ( var pIn)
local  ( local pIn)
CC_DLL float  (const Vec4 *pIn)
var  ( var pIn)
local  ( local pIn)
CC_DLL Vec4 (Vec4 *pOut, const Vec4 *pV1, const Vec4 *pV2, float t)
local  ( local pOut, local pV1, local pV2, local t)
CC_DLL Vec4 (Vec4 *pOut, const Vec4 *pIn)
var  ( var pOut, var pIn)
local  ( local pOut, local pIn)
CC_DLL Vec4 (Vec4 *pOut, const Vec4 *pIn, const float s)
var  ( var pOut, var pIn, var s)
local  ( local pOut, local pIn, local s)
CC_DLL Vec4 (Vec4 *pOut, const Vec4 *pV1, const Vec4 *pV2)
var  ( var pOut, var pV1, var pV2)
local  ( local pOut, local pV1, local pV2)
CC_DLL Vec4 (Vec4 *pOut, const Vec4 *pIn)
local  ( local pOut, local pIn)
CC_DLL Vec4 (Vec4 *pOut, const Vec4 *pV, const Mat4 *pM)
local  ( local pOut, local pV, local pM)
CC_DLL Vec4 (Vec4 *pOut, const Vec4 *pV, const Mat4 *pM)
var  ( var pOut, var pV, var pM)
local  ( local pOut, local pV, local pM)
CC_DLL AffineTransform  (float a, float b, float c, float d, float tx, float ty)
var  ( var a, var b, var c, var d, var tx, var ty)
local  ( local a, local b, local c, local d, local tx, local ty)
CC_DLL Vec2  (const Vec2 &point, const AffineTransform &t)
CC_DLL Size  (const Size &size, const AffineTransform &t)
var  ( var size, var t)
local  ( local size, local t)
CC_DLL AffineTransform  ()
var  ()
local  ()
CC_DLL Rect  (const Rect &rect, const AffineTransform &anAffineTransform)
var  ( var rect, var anAffineTransform)
local  ( local rect, local anAffineTransform)
CC_DLL Rect  (const Rect &rect, const Mat4 &transform)
local  ( local rect, local transform)
CC_DLL Vec2  (const Vec2 &point, const Mat4 &transform)
CC_DLL AffineTransform  (const AffineTransform &t, float tx, float ty)
var  ( var t, var tx, var ty)
local  ( local t, local tx, local ty)
CC_DLL AffineTransform  (const AffineTransform &aTransform, float anAngle)
var  ( var aTransform, var anAngle)
local  ( local aTransform, local anAngle)
CC_DLL AffineTransform  (const AffineTransform &t, float sx, float sy)
var  ( var t, var sx, var sy)
local  ( local t, local sx, local sy)
CC_DLL AffineTransform  (const AffineTransform &t1, const AffineTransform &t2)
var  ( var t1, var t2)
local  ( local t1, local t2)
CC_DLL bool  (const AffineTransform &t1, const AffineTransform &t2)
var  ( var t1, var t2)
local  ( local t1, local t2)
CC_DLL AffineTransform  (const AffineTransform &t)
var  ( var t)
local  ( local t)
CC_DLL Mat4  (const Mat4 &t1, const Mat4 &t2)
var  ( var t1, var t2)
local  ( local t1, local t2)
void CC_DLL  (Vec2 *points, float stroke, Vec2 *vertices, unsigned int offset, unsigned int nuPoints)
 converts a line to a polygon More...
 
var  ( var points, var stroke, var vertices, var offset, var nuPoints)
 converts a line to a polygon More...
 
local  ( local points, local stroke, local vertices, local offset, local 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...
 
var  ( var Ax, var Ay, var Bx, var By, var Cx, var Cy, var Dx, var Dy, var T)
 returns whether or not the line intersects More...
 
local  ( local Ax, local Ay, local Bx, local By, local Cx, local Cy, local Dx, local Dy, local 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)
var  ( var m, var t)
local  ( local m, local t)
const PhysicsMaterial  (0.1f, 0.5f, 0.5f)
var  ( var 1f, var 5f, var 5f)
local  ( local 1f, local 5f, local 5f)
const PhysicsMaterial  (0.0f, 0.5f, 0.5f)
var  ( var 0f, var 5f, var 5f)
local  ( local 0f, local 5f, local 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...
 
var  ( var msg, var title)
 Pop out a message box. More...
 
int CC_DLL  (struct timeval *, struct timezone *)
void  (pthread_mutex_t *m, void *attributes)
var  ( var m, var attributes)
local  ( local m, local 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)
var  ( var title, var text)
local  ( local title, local text)
public delegate void  (Platform::String^strPlaceHolder, Platform::String^strText, int maxLength, int inputMode, int inputFlag, Windows::Foundation::EventHandler< Platform::String^>^receiveHandler)
var  ( var strPlaceHolder, var strText, var maxLength, var inputMode, var inputFlag, var receiveHandler)
local  ( local strPlaceHolder, local strText, local maxLength, local inputMode, local inputFlag, local receiveHandler)
public delegate void  (Platform::String^url)
var  ( var url)
local  ( local url)
public delegate void  ()

Variables

std::string CC_DLL s_attributeNames []
var s_attributeNames ()
local s_attributeNames ()
const std::string CC_DLL STD_STRING_EMPTY
var STD_STRING_EMPTY
local STD_STRING_EMPTY
bool kProfilerCategorySprite
var kProfilerCategorySprite
local kProfilerCategorySprite
bool kProfilerCategoryBatchSprite
var kProfilerCategoryBatchSprite
local kProfilerCategoryBatchSprite
bool kProfilerCategoryParticles
var kProfilerCategoryParticles
local kProfilerCategoryParticles
const ssize_t CC_DLL CC_INVALID_INDEX
var CC_INVALID_INDEX
local CC_INVALID_INDEX
CC_DLL const ValueVector ValueVectorNull
CC_DLL const ValueMap ValueMapNull
var ValueMapNull
local ValueMapNull
CC_DLL const ValueMapIntKey ValueMapIntKeyNull
var ValueMapIntKeyNull
local ValueMapIntKeyNull
const Vec2 CCPointZero
const Size CCSizeZero
var CCSizeZero
local CCSizeZero
const Rect CCRectZero
var CCRectZero
local CCRectZero
const Color3B ccWHITE
var ccWHITE
local ccWHITE
const Color3B ccYELLOW
var ccYELLOW
local ccYELLOW
const Color3B ccGREEN
var ccGREEN
local ccGREEN
const Color3B ccBLUE
var ccBLUE
local ccBLUE
const Color3B ccRED
var ccRED
local ccRED
const Color3B ccMAGENTA
var ccMAGENTA
local ccMAGENTA
const Color3B ccBLACK
var ccBLACK
local ccBLACK
const Color3B ccORANGE
var ccORANGE
local ccORANGE
const Color3B ccGRAY
var ccGRAY
local ccGRAY
const BlendFunc kCCBlendFuncDisable
var kCCBlendFuncDisable
local kCCBlendFuncDisable
const int kCCVertexAttrib_Position = GLProgram::VERTEX_ATTRIB_POSITION
const int kCCVertexAttrib_Color = GLProgram::VERTEX_ATTRIB_COLOR
var kCCVertexAttrib_Color = GLProgram::VERTEX_ATTRIB_COLOR
local kCCVertexAttrib_Color = GLProgram::VERTEX_ATTRIB_COLOR
const int kCCVertexAttrib_TexCoords = GLProgram::VERTEX_ATTRIB_TEX_COORD
var kCCVertexAttrib_TexCoords = GLProgram::VERTEX_ATTRIB_TEX_COORD
local kCCVertexAttrib_TexCoords = GLProgram::VERTEX_ATTRIB_TEX_COORD
const int kCCVertexAttrib_MAX = GLProgram::VERTEX_ATTRIB_MAX
var kCCVertexAttrib_MAX = GLProgram::VERTEX_ATTRIB_MAX
local kCCVertexAttrib_MAX = GLProgram::VERTEX_ATTRIB_MAX
const int kCCUniformPMatrix = GLProgram::UNIFORM_P_MATRIX
var kCCUniformPMatrix = GLProgram::UNIFORM_P_MATRIX
local kCCUniformPMatrix = GLProgram::UNIFORM_P_MATRIX
const int kCCUniformMVMatrix = GLProgram::UNIFORM_MV_MATRIX
var kCCUniformMVMatrix = GLProgram::UNIFORM_MV_MATRIX
local kCCUniformMVMatrix = GLProgram::UNIFORM_MV_MATRIX
const int kCCUniformMVPMatrix = GLProgram::UNIFORM_MVP_MATRIX
var kCCUniformMVPMatrix = GLProgram::UNIFORM_MVP_MATRIX
local kCCUniformMVPMatrix = GLProgram::UNIFORM_MVP_MATRIX
const int kCCUniformTime = GLProgram::UNIFORM_TIME
var kCCUniformTime = GLProgram::UNIFORM_TIME
local kCCUniformTime = GLProgram::UNIFORM_TIME
const int kCCUniformSinTime = GLProgram::UNIFORM_SIN_TIME
var kCCUniformSinTime = GLProgram::UNIFORM_SIN_TIME
local kCCUniformSinTime = GLProgram::UNIFORM_SIN_TIME
const int kCCUniformCosTime = GLProgram::UNIFORM_COS_TIME
var kCCUniformCosTime = GLProgram::UNIFORM_COS_TIME
local kCCUniformCosTime = GLProgram::UNIFORM_COS_TIME
const int kCCUniformRandom01 = GLProgram::UNIFORM_RANDOM01
var kCCUniformRandom01 = GLProgram::UNIFORM_RANDOM01
local kCCUniformRandom01 = GLProgram::UNIFORM_RANDOM01
const int kCCUniformSampler = GLProgram::UNIFORM_SAMPLER0
var kCCUniformSampler = GLProgram::UNIFORM_SAMPLER0
local kCCUniformSampler = GLProgram::UNIFORM_SAMPLER0
const int kCCUniform_MAX = GLProgram::UNIFORM_MAX
var kCCUniform_MAX = GLProgram::UNIFORM_MAX
local kCCUniform_MAX = GLProgram::UNIFORM_MAX
const char * kCCShader_PositionTextureColor
var kCCShader_PositionTextureColor
local kCCShader_PositionTextureColor
const char * kCCShader_PositionTextureColorAlphaTest
var kCCShader_PositionTextureColorAlphaTest
local kCCShader_PositionTextureColorAlphaTest
const char * kCCShader_PositionColor
var kCCShader_PositionColor
local kCCShader_PositionColor
const char * kCCShader_PositionTexture
var kCCShader_PositionTexture
local kCCShader_PositionTexture
const char * kCCShader_PositionTexture_uColor
var kCCShader_PositionTexture_uColor
local kCCShader_PositionTexture_uColor
const char * kCCShader_PositionTextureA8Color
var kCCShader_PositionTextureA8Color
local kCCShader_PositionTextureA8Color
const char * kCCShader_Position_uColor
var kCCShader_Position_uColor
local kCCShader_Position_uColor
const char * kCCShader_PositionLengthTexureColor
var kCCShader_PositionLengthTexureColor
local kCCShader_PositionLengthTexureColor
const char * kCCUniformPMatrix_s
var kCCUniformPMatrix_s
local kCCUniformPMatrix_s
const char * kCCUniformMVMatrix_s
var kCCUniformMVMatrix_s
local kCCUniformMVMatrix_s
const char * kCCUniformMVPMatrix_s
var kCCUniformMVPMatrix_s
local kCCUniformMVPMatrix_s
const char * kCCUniformTime_s
var kCCUniformTime_s
local kCCUniformTime_s
const char * kCCUniformSinTime_s
var kCCUniformSinTime_s
local kCCUniformSinTime_s
const char * kCCUniformCosTime_s
var kCCUniformCosTime_s
local kCCUniformCosTime_s
const char * kCCUniformRandom01_s
var kCCUniformRandom01_s
local kCCUniformRandom01_s
const char * kCCUniformSampler_s
var kCCUniformSampler_s
local kCCUniformSampler_s
const char * kCCUniformAlphaTestValue
var kCCUniformAlphaTestValue
local kCCUniformAlphaTestValue
const char * kCCAttributeNameColor
var kCCAttributeNameColor
local kCCAttributeNameColor
const char * kCCAttributeNamePosition
var kCCAttributeNamePosition
local kCCAttributeNamePosition
const char * kCCAttributeNameTexCoord
var kCCAttributeNameTexCoord
local kCCAttributeNameTexCoord
const int kCCVertexAttribFlag_None = GL::VERTEX_ATTRIB_FLAG_NONE
var kCCVertexAttribFlag_None = GL::VERTEX_ATTRIB_FLAG_NONE
local kCCVertexAttribFlag_None = GL::VERTEX_ATTRIB_FLAG_NONE
const int kCCVertexAttribFlag_Position = GL::VERTEX_ATTRIB_FLAG_POSITION
var kCCVertexAttribFlag_Position = GL::VERTEX_ATTRIB_FLAG_POSITION
local kCCVertexAttribFlag_Position = GL::VERTEX_ATTRIB_FLAG_POSITION
const int kCCVertexAttribFlag_Color = GL::VERTEX_ATTRIB_FLAG_COLOR
var kCCVertexAttribFlag_Color = GL::VERTEX_ATTRIB_FLAG_COLOR
local kCCVertexAttribFlag_Color = GL::VERTEX_ATTRIB_FLAG_COLOR
const int kCCVertexAttribFlag_TexCoords = GL::VERTEX_ATTRIB_FLAG_TEX_COORD
var kCCVertexAttribFlag_TexCoords = GL::VERTEX_ATTRIB_FLAG_TEX_COORD
local kCCVertexAttribFlag_TexCoords = GL::VERTEX_ATTRIB_FLAG_TEX_COORD
const int kCCVertexAttribFlag_PosColorTex = GL::VERTEX_ATTRIB_FLAG_POS_COLOR_TEX
var kCCVertexAttribFlag_PosColorTex = GL::VERTEX_ATTRIB_FLAG_POS_COLOR_TEX
local kCCVertexAttribFlag_PosColorTex = GL::VERTEX_ATTRIB_FLAG_POS_COLOR_TEX
const ProgressTimer::Type kCCProgressTimerTypeRadial = ProgressTimer::Type::RADIAL
var kCCProgressTimerTypeRadial = ProgressTimer::Type::RADIAL
local kCCProgressTimerTypeRadial = ProgressTimer::Type::RADIAL
const ProgressTimer::Type kCCProgressTimerTypeBar = ProgressTimer::Type::BAR
var kCCProgressTimerTypeBar = ProgressTimer::Type::BAR
local kCCProgressTimerTypeBar = ProgressTimer::Type::BAR
const Director::Projection kCCDirectorProjection2D = Director::Projection::_2D
var kCCDirectorProjection2D = Director::Projection::_2D
local kCCDirectorProjection2D = Director::Projection::_2D
const Director::Projection kCCDirectorProjection3D = Director::Projection::_3D
var kCCDirectorProjection3D = Director::Projection::_3D
local kCCDirectorProjection3D = Director::Projection::_3D
const Director::Projection kCCDirectorProjectionCustom = Director::Projection::CUSTOM
var kCCDirectorProjectionCustom = Director::Projection::CUSTOM
local kCCDirectorProjectionCustom = Director::Projection::CUSTOM
const Director::Projection kCCDirectorProjectionDefault = Director::Projection::DEFAULT
var kCCDirectorProjectionDefault = Director::Projection::DEFAULT
local kCCDirectorProjectionDefault = Director::Projection::DEFAULT
const TextVAlignment kCCVerticalTextAlignmentTop = TextVAlignment::TOP
var kCCVerticalTextAlignmentTop = TextVAlignment::TOP
local kCCVerticalTextAlignmentTop = TextVAlignment::TOP
const TextVAlignment kCCVerticalTextAlignmentCenter = TextVAlignment::CENTER
var kCCVerticalTextAlignmentCenter = TextVAlignment::CENTER
local kCCVerticalTextAlignmentCenter = TextVAlignment::CENTER
const TextVAlignment kCCVerticalTextAlignmentBottom = TextVAlignment::BOTTOM
var kCCVerticalTextAlignmentBottom = TextVAlignment::BOTTOM
local kCCVerticalTextAlignmentBottom = TextVAlignment::BOTTOM
const TextHAlignment kCCTextAlignmentLeft = TextHAlignment::LEFT
var kCCTextAlignmentLeft = TextHAlignment::LEFT
local kCCTextAlignmentLeft = TextHAlignment::LEFT
const TextHAlignment kCCTextAlignmentCenter = TextHAlignment::CENTER
var kCCTextAlignmentCenter = TextHAlignment::CENTER
local kCCTextAlignmentCenter = TextHAlignment::CENTER
const TextHAlignment kCCTextAlignmentRight = TextHAlignment::RIGHT
var kCCTextAlignmentRight = TextHAlignment::RIGHT
local kCCTextAlignmentRight = TextHAlignment::RIGHT
const Texture2D::PixelFormat kCCTexture2DPixelFormat_RGBA8888 = Texture2D::PixelFormat::RGBA8888
var kCCTexture2DPixelFormat_RGBA8888 = Texture2D::PixelFormat::RGBA8888
local kCCTexture2DPixelFormat_RGBA8888 = Texture2D::PixelFormat::RGBA8888
const Texture2D::PixelFormat kCCTexture2DPixelFormat_RGB888 = Texture2D::PixelFormat::RGB888
const Texture2D::PixelFormat kCCTexture2DPixelFormat_RGB565 = Texture2D::PixelFormat::RGB565
var kCCTexture2DPixelFormat_RGB565 = Texture2D::PixelFormat::RGB565
local kCCTexture2DPixelFormat_RGB565 = Texture2D::PixelFormat::RGB565
const Texture2D::PixelFormat kCCTexture2DPixelFormat_A8 = Texture2D::PixelFormat::A8
var kCCTexture2DPixelFormat_A8 = Texture2D::PixelFormat::A8
local kCCTexture2DPixelFormat_A8 = Texture2D::PixelFormat::A8
const Texture2D::PixelFormat kCCTexture2DPixelFormat_I8 = Texture2D::PixelFormat::I8
var kCCTexture2DPixelFormat_I8 = Texture2D::PixelFormat::I8
local kCCTexture2DPixelFormat_I8 = Texture2D::PixelFormat::I8
const Texture2D::PixelFormat kCCTexture2DPixelFormat_AI88 = Texture2D::PixelFormat::AI88
var kCCTexture2DPixelFormat_AI88 = Texture2D::PixelFormat::AI88
local kCCTexture2DPixelFormat_AI88 = Texture2D::PixelFormat::AI88
const Texture2D::PixelFormat kCCTexture2DPixelFormat_RGBA4444 = Texture2D::PixelFormat::RGBA4444
var kCCTexture2DPixelFormat_RGBA4444 = Texture2D::PixelFormat::RGBA4444
local kCCTexture2DPixelFormat_RGBA4444 = Texture2D::PixelFormat::RGBA4444
const Texture2D::PixelFormat kCCTexture2DPixelFormat_RGB5A1 = Texture2D::PixelFormat::RGB5A1
var kCCTexture2DPixelFormat_RGB5A1 = Texture2D::PixelFormat::RGB5A1
local kCCTexture2DPixelFormat_RGB5A1 = Texture2D::PixelFormat::RGB5A1
const Texture2D::PixelFormat kCCTexture2DPixelFormat_PVRTC4 = Texture2D::PixelFormat::PVRTC4
var kCCTexture2DPixelFormat_PVRTC4 = Texture2D::PixelFormat::PVRTC4
local kCCTexture2DPixelFormat_PVRTC4 = Texture2D::PixelFormat::PVRTC4
const Texture2D::PixelFormat kCCTexture2DPixelFormat_PVRTC2 = Texture2D::PixelFormat::PVRTC2
var kCCTexture2DPixelFormat_PVRTC2 = Texture2D::PixelFormat::PVRTC2
local kCCTexture2DPixelFormat_PVRTC2 = Texture2D::PixelFormat::PVRTC2
const Texture2D::PixelFormat kCCTexture2DPixelFormat_Default = Texture2D::PixelFormat::DEFAULT
var kCCTexture2DPixelFormat_Default = Texture2D::PixelFormat::DEFAULT
local kCCTexture2DPixelFormat_Default = Texture2D::PixelFormat::DEFAULT
const int kCCParticleDurationInfinity = ParticleSystem::DURATION_INFINITY
var kCCParticleDurationInfinity = ParticleSystem::DURATION_INFINITY
local kCCParticleDurationInfinity = ParticleSystem::DURATION_INFINITY
const int kCCParticleStartSizeEqualToEndSize = ParticleSystem::START_SIZE_EQUAL_TO_END_SIZE
var kCCParticleStartSizeEqualToEndSize = ParticleSystem::START_SIZE_EQUAL_TO_END_SIZE
local kCCParticleStartSizeEqualToEndSize = ParticleSystem::START_SIZE_EQUAL_TO_END_SIZE
const int kCCParticleStartRadiusEqualToEndRadius = ParticleSystem::START_RADIUS_EQUAL_TO_END_RADIUS
var kCCParticleStartRadiusEqualToEndRadius = ParticleSystem::START_RADIUS_EQUAL_TO_END_RADIUS
local kCCParticleStartRadiusEqualToEndRadius = ParticleSystem::START_RADIUS_EQUAL_TO_END_RADIUS
const int kParticleDurationInfinity = ParticleSystem::DURATION_INFINITY
var kParticleDurationInfinity = ParticleSystem::DURATION_INFINITY
local kParticleDurationInfinity = ParticleSystem::DURATION_INFINITY
const int kParticleStartSizeEqualToEndSize = ParticleSystem::START_SIZE_EQUAL_TO_END_SIZE
var kParticleStartSizeEqualToEndSize = ParticleSystem::START_SIZE_EQUAL_TO_END_SIZE
local kParticleStartSizeEqualToEndSize = ParticleSystem::START_SIZE_EQUAL_TO_END_SIZE
const int kParticleStartRadiusEqualToEndRadius = ParticleSystem::START_RADIUS_EQUAL_TO_END_RADIUS
var kParticleStartRadiusEqualToEndRadius = ParticleSystem::START_RADIUS_EQUAL_TO_END_RADIUS
local kParticleStartRadiusEqualToEndRadius = ParticleSystem::START_RADIUS_EQUAL_TO_END_RADIUS
const ParticleSystem::Mode kCCParticleModeGravity = ParticleSystem::Mode::GRAVITY
var kCCParticleModeGravity = ParticleSystem::Mode::GRAVITY
local kCCParticleModeGravity = ParticleSystem::Mode::GRAVITY
const ParticleSystem::Mode kCCParticleModeRadius = ParticleSystem::Mode::RADIUS
var kCCParticleModeRadius = ParticleSystem::Mode::RADIUS
local kCCParticleModeRadius = ParticleSystem::Mode::RADIUS
const int kCCParticleDefaultCapacity = kParticleDefaultCapacity
var kCCParticleDefaultCapacity = kParticleDefaultCapacity
local kCCParticleDefaultCapacity = kParticleDefaultCapacity
const ParticleSystem::PositionType kCCPositionTypeFree = ParticleSystem::PositionType::FREE
const ParticleSystem::PositionType kCCPositionTypeRelative = ParticleSystem::PositionType::RELATIVE
var kCCPositionTypeRelative = ParticleSystem::PositionType::RELATIVE
local kCCPositionTypeRelative = ParticleSystem::PositionType::RELATIVE
const ParticleSystem::PositionType kCCPositionTypeGrouped = ParticleSystem::PositionType::GROUPED
var kCCPositionTypeGrouped = ParticleSystem::PositionType::GROUPED
local kCCPositionTypeGrouped = ParticleSystem::PositionType::GROUPED
const Menu::State kCCMenuStateWaiting = Menu::State::WAITING
var kCCMenuStateWaiting = Menu::State::WAITING
local kCCMenuStateWaiting = Menu::State::WAITING
const Menu::State kCCMenuStateTrackingTouch = Menu::State::TRACKING_TOUCH
var kCCMenuStateTrackingTouch = Menu::State::TRACKING_TOUCH
local kCCMenuStateTrackingTouch = Menu::State::TRACKING_TOUCH
const Touch::DispatchMode kCCTouchesOneByOne = Touch::DispatchMode::ONE_BY_ONE
var kCCTouchesOneByOne = Touch::DispatchMode::ONE_BY_ONE
local kCCTouchesOneByOne = Touch::DispatchMode::ONE_BY_ONE
const Touch::DispatchMode kCCTouchesAllAtOnce = Touch::DispatchMode::ALL_AT_ONCE
var kCCTouchesAllAtOnce = Touch::DispatchMode::ALL_AT_ONCE
local kCCTouchesAllAtOnce = Touch::DispatchMode::ALL_AT_ONCE
const Image::Format kCCImageFormatPNG = Image::Format::PNG
var kCCImageFormatPNG = Image::Format::PNG
local kCCImageFormatPNG = Image::Format::PNG
const Image::Format kCCImageFormatJPEG = Image::Format::JPG
var kCCImageFormatJPEG = Image::Format::JPG
local kCCImageFormatJPEG = Image::Format::JPG
const TransitionScene::Orientation kCCTransitionOrientationLeftOver = TransitionScene::Orientation::LEFT_OVER
const TransitionScene::Orientation kCCTransitionOrientationRightOver = TransitionScene::Orientation::RIGHT_OVER
const TransitionScene::Orientation kCCTransitionOrientationUpOver = TransitionScene::Orientation::UP_OVER
const TransitionScene::Orientation kCCTransitionOrientationDownOver = TransitionScene::Orientation::DOWN_OVER
const int kCCPrioritySystem = Scheduler::PRIORITY_SYSTEM
const int kCCPriorityNonSystemMin = Scheduler::PRIORITY_NON_SYSTEM_MIN
var kCCPriorityNonSystemMin = Scheduler::PRIORITY_NON_SYSTEM_MIN
local kCCPriorityNonSystemMin = Scheduler::PRIORITY_NON_SYSTEM_MIN
const int kCCActionTagInvalid = Action::INVALID_TAG
var kCCActionTagInvalid = Action::INVALID_TAG
local kCCActionTagInvalid = Action::INVALID_TAG
const int kCCNodeTagInvalid = Node::INVALID_TAG
var kCCNodeTagInvalid = Node::INVALID_TAG
local kCCNodeTagInvalid = Node::INVALID_TAG
const int kCCNodeOnEnter = kNodeOnEnter
var kCCNodeOnEnter = kNodeOnEnter
local kCCNodeOnEnter = kNodeOnEnter
const int kCCNodeOnExit = kNodeOnExit
var kCCNodeOnExit = kNodeOnExit
local kCCNodeOnExit = kNodeOnExit
const int kCCNodeOnEnterTransitionDidFinish = kNodeOnEnterTransitionDidFinish
var kCCNodeOnEnterTransitionDidFinish = kNodeOnEnterTransitionDidFinish
local kCCNodeOnEnterTransitionDidFinish = kNodeOnEnterTransitionDidFinish
const int kCCNodeOnExitTransitionDidStart = kNodeOnExitTransitionDidStart
var kCCNodeOnExitTransitionDidStart = kNodeOnExitTransitionDidStart
local kCCNodeOnExitTransitionDidStart = kNodeOnExitTransitionDidStart
const int kCCNodeOnCleanup = kNodeOnCleanup
var kCCNodeOnCleanup = kNodeOnCleanup
local kCCNodeOnCleanup = kNodeOnCleanup
const LanguageType kLanguageEnglish = LanguageType::ENGLISH
var kLanguageEnglish = LanguageType::ENGLISH
local kLanguageEnglish = LanguageType::ENGLISH
const LanguageType kLanguageChinese = LanguageType::CHINESE
var kLanguageChinese = LanguageType::CHINESE
local kLanguageChinese = LanguageType::CHINESE
const LanguageType kLanguageFrench = LanguageType::FRENCH
var kLanguageFrench = LanguageType::FRENCH
local kLanguageFrench = LanguageType::FRENCH
const LanguageType kLanguageItalian = LanguageType::ITALIAN
var kLanguageItalian = LanguageType::ITALIAN
local kLanguageItalian = LanguageType::ITALIAN
const LanguageType kLanguageGerman = LanguageType::GERMAN
var kLanguageGerman = LanguageType::GERMAN
local kLanguageGerman = LanguageType::GERMAN
const LanguageType kLanguageSpanish = LanguageType::SPANISH
var kLanguageSpanish = LanguageType::SPANISH
local kLanguageSpanish = LanguageType::SPANISH
const LanguageType kLanguageRussian = LanguageType::RUSSIAN
var kLanguageRussian = LanguageType::RUSSIAN
local kLanguageRussian = LanguageType::RUSSIAN
const LanguageType kLanguageKorean = LanguageType::KOREAN
var kLanguageKorean = LanguageType::KOREAN
local kLanguageKorean = LanguageType::KOREAN
const LanguageType kLanguageJapanese = LanguageType::JAPANESE
var kLanguageJapanese = LanguageType::JAPANESE
local kLanguageJapanese = LanguageType::JAPANESE
const LanguageType kLanguageHungarian = LanguageType::HUNGARIAN
var kLanguageHungarian = LanguageType::HUNGARIAN
local kLanguageHungarian = LanguageType::HUNGARIAN
const LanguageType kLanguagePortuguese = LanguageType::PORTUGUESE
var kLanguagePortuguese = LanguageType::PORTUGUESE
local kLanguagePortuguese = LanguageType::PORTUGUESE
const LanguageType kLanguageArabic = LanguageType::ARABIC
var kLanguageArabic = LanguageType::ARABIC
local kLanguageArabic = LanguageType::ARABIC
const LanguageType kLanguageNorwegian = LanguageType::NORWEGIAN
var kLanguageNorwegian = LanguageType::NORWEGIAN
local kLanguageNorwegian = LanguageType::NORWEGIAN
const LanguageType kLanguagePolish = LanguageType::POLISH
var kLanguagePolish = LanguageType::POLISH
local kLanguagePolish = LanguageType::POLISH
const Application::Platform kTargetWindows = Application::Platform::OS_WINDOWS
var kTargetWindows = Application::Platform::OS_WINDOWS
local kTargetWindows = Application::Platform::OS_WINDOWS
const Application::Platform kTargetLinux = Application::Platform::OS_LINUX
var kTargetLinux = Application::Platform::OS_LINUX
local kTargetLinux = Application::Platform::OS_LINUX
const Application::Platform kTargetMacOS = Application::Platform::OS_MAC
var kTargetMacOS = Application::Platform::OS_MAC
local kTargetMacOS = Application::Platform::OS_MAC
const Application::Platform kTargetAndroid = Application::Platform::OS_ANDROID
var kTargetAndroid = Application::Platform::OS_ANDROID
local kTargetAndroid = Application::Platform::OS_ANDROID
const Application::Platform kTargetIphone = Application::Platform::OS_IPHONE
var kTargetIphone = Application::Platform::OS_IPHONE
local kTargetIphone = Application::Platform::OS_IPHONE
const Application::Platform kTargetIpad = Application::Platform::OS_IPAD
var kTargetIpad = Application::Platform::OS_IPAD
local kTargetIpad = Application::Platform::OS_IPAD
const Application::Platform kTargetBlackBerry = Application::Platform::OS_BLACKBERRY
var kTargetBlackBerry = Application::Platform::OS_BLACKBERRY
local kTargetBlackBerry = Application::Platform::OS_BLACKBERRY
const Application::Platform kTargetNaCl = Application::Platform::OS_NACL
var kTargetNaCl = Application::Platform::OS_NACL
local kTargetNaCl = Application::Platform::OS_NACL
const Application::Platform kTargetEmscripten = Application::Platform::OS_EMSCRIPTEN
var kTargetEmscripten = Application::Platform::OS_EMSCRIPTEN
local kTargetEmscripten = Application::Platform::OS_EMSCRIPTEN
const Application::Platform kTargetTizen = Application::Platform::OS_TIZEN
var kTargetTizen = Application::Platform::OS_TIZEN
local kTargetTizen = Application::Platform::OS_TIZEN
const Application::Platform kTargetWinRT = Application::Platform::OS_WINRT
var kTargetWinRT = Application::Platform::OS_WINRT
local kTargetWinRT = Application::Platform::OS_WINRT
const Application::Platform kTargetWP8 = Application::Platform::OS_WP8
var kTargetWP8 = Application::Platform::OS_WP8
local kTargetWP8 = Application::Platform::OS_WP8
const ResolutionPolicy kResolutionExactFit = ResolutionPolicy::EXACT_FIT
var kResolutionExactFit = ResolutionPolicy::EXACT_FIT
local kResolutionExactFit = ResolutionPolicy::EXACT_FIT
const ResolutionPolicy kResolutionNoBorder = ResolutionPolicy::NO_BORDER
var kResolutionNoBorder = ResolutionPolicy::NO_BORDER
local kResolutionNoBorder = ResolutionPolicy::NO_BORDER
const ResolutionPolicy kResolutionShowAll = ResolutionPolicy::SHOW_ALL
var kResolutionShowAll = ResolutionPolicy::SHOW_ALL
local kResolutionShowAll = ResolutionPolicy::SHOW_ALL
const ResolutionPolicy kResolutionFixedHeight = ResolutionPolicy::FIXED_HEIGHT
var kResolutionFixedHeight = ResolutionPolicy::FIXED_HEIGHT
local kResolutionFixedHeight = ResolutionPolicy::FIXED_HEIGHT
const ResolutionPolicy kResolutionFixedWidth = ResolutionPolicy::FIXED_WIDTH
var kResolutionFixedWidth = ResolutionPolicy::FIXED_WIDTH
local kResolutionFixedWidth = ResolutionPolicy::FIXED_WIDTH
const ResolutionPolicy kResolutionUnKnown = ResolutionPolicy::UNKNOWN
var kResolutionUnKnown = ResolutionPolicy::UNKNOWN
local kResolutionUnKnown = ResolutionPolicy::UNKNOWN
const unsigned int KM_GL_MODELVIEW = 0x1700
const unsigned int KM_GL_PROJECTION = 0x1701
var KM_GL_PROJECTION = 0x1701
local KM_GL_PROJECTION = 0x1701
const unsigned int KM_GL_TEXTURE = 0x1702
var KM_GL_TEXTURE = 0x1702
local KM_GL_TEXTURE = 0x1702
const Vec3 KM_VEC3_NEG_Z
const Vec3 KM_VEC3_POS_Z
var KM_VEC3_POS_Z
local KM_VEC3_POS_Z
const Vec3 KM_VEC3_POS_Y
var KM_VEC3_POS_Y
local KM_VEC3_POS_Y
const Vec3 KM_VEC3_NEG_Y
var KM_VEC3_NEG_Y
local KM_VEC3_NEG_Y
const Vec3 KM_VEC3_NEG_X
var KM_VEC3_NEG_X
local KM_VEC3_NEG_X
const Vec3 KM_VEC3_POS_X
var KM_VEC3_POS_X
local KM_VEC3_POS_X
const Vec3 KM_VEC3_ZERO
var KM_VEC3_ZERO
local KM_VEC3_ZERO
const Vec2 KM_VEC2_POS_Y
local KM_VEC2_POS_Y
const Vec2 KM_VEC2_NEG_Y
var KM_VEC2_NEG_Y
local KM_VEC2_NEG_Y
const Vec2 KM_VEC2_NEG_X
var KM_VEC2_NEG_X
local KM_VEC2_NEG_X
const Vec2 KM_VEC2_POS_X
var KM_VEC2_POS_X
local KM_VEC2_POS_X
const Vec2 KM_VEC2_ZERO
var KM_VEC2_ZERO
local KM_VEC2_ZERO
CC_DLL const AffineTransform AffineTransformIdentity
const float CC_DLL PHYSICS_INFINITY
var PHYSICS_INFINITY
local PHYSICS_INFINITY
CC_DLL const GLcharccPosition_uColor_frag
var ccPosition_uColor_frag
local ccPosition_uColor_frag
CC_DLL const GLcharccPosition_uColor_vert
var ccPosition_uColor_vert
local ccPosition_uColor_vert
CC_DLL const GLcharccPositionColor_frag
var ccPositionColor_frag
local ccPositionColor_frag
CC_DLL const GLcharccPositionColor_vert
var ccPositionColor_vert
local ccPositionColor_vert
CC_DLL const GLcharccPositionTexture_frag
var ccPositionTexture_frag
local ccPositionTexture_frag
CC_DLL const GLcharccPositionTexture_vert
var ccPositionTexture_vert
local ccPositionTexture_vert
CC_DLL const GLcharccPositionTextureA8Color_frag
var ccPositionTextureA8Color_frag
local ccPositionTextureA8Color_frag
CC_DLL const GLcharccPositionTextureA8Color_vert
CC_DLL const GLcharccPositionTextureColor_frag
var ccPositionTextureColor_frag
local ccPositionTextureColor_frag
CC_DLL const GLcharccPositionTextureColor_vert
var ccPositionTextureColor_vert
local ccPositionTextureColor_vert
CC_DLL const GLcharccPositionTextureColor_noMVP_frag
var ccPositionTextureColor_noMVP_frag
local ccPositionTextureColor_noMVP_frag
CC_DLL const GLcharccPositionTextureColor_noMVP_vert
var ccPositionTextureColor_noMVP_vert
local ccPositionTextureColor_noMVP_vert
CC_DLL const GLcharccPositionTextureColorAlphaTest_frag
var ccPositionTextureColorAlphaTest_frag
local ccPositionTextureColorAlphaTest_frag
CC_DLL const GLcharccPositionTexture_uColor_frag
var ccPositionTexture_uColor_frag
local ccPositionTexture_uColor_frag
CC_DLL const GLcharccPositionTexture_uColor_vert
var ccPositionTexture_uColor_vert
local ccPositionTexture_uColor_vert
CC_DLL const GLcharccPositionColorLengthTexture_frag
var ccPositionColorLengthTexture_frag
local ccPositionColorLengthTexture_frag
CC_DLL const GLcharccPositionColorLengthTexture_vert
var ccPositionColorLengthTexture_vert
local ccPositionColorLengthTexture_vert
CC_DLL const GLcharccLabelDistanceFieldNormal_frag
var ccLabelDistanceFieldNormal_frag
local ccLabelDistanceFieldNormal_frag
CC_DLL const GLcharccLabelDistanceFieldGlow_frag
var ccLabelDistanceFieldGlow_frag
local ccLabelDistanceFieldGlow_frag
CC_DLL const GLcharccLabelNormal_frag
var ccLabelNormal_frag
local ccLabelNormal_frag
CC_DLL const GLcharccLabelOutline_frag
var ccLabelOutline_frag
local ccLabelOutline_frag
CC_DLL const GLcharccLabel_vert
var ccLabel_vert
local ccLabel_vert
CC_DLL const GLcharcc3D_PositionTex_vert
var cc3D_PositionTex_vert
local cc3D_PositionTex_vert
CC_DLL const GLcharcc3D_SkinPositionTex_vert
var cc3D_SkinPositionTex_vert
local cc3D_SkinPositionTex_vert
CC_DLL const GLcharcc3D_ColorTex_frag
var cc3D_ColorTex_frag
local cc3D_ColorTex_frag
CC_DLL const GLcharcc3D_Color_frag
var cc3D_Color_frag
local cc3D_Color_frag
CC_DLL const GLcharcc3D_PositionNormalTex_vert
var cc3D_PositionNormalTex_vert
local cc3D_PositionNormalTex_vert
CC_DLL const GLcharcc3D_SkinPositionNormalTex_vert
var cc3D_SkinPositionNormalTex_vert
local cc3D_SkinPositionNormalTex_vert
CC_DLL const GLcharcc3D_ColorNormalTex_frag
var cc3D_ColorNormalTex_frag
local cc3D_ColorNormalTex_frag
CC_DLL const GLcharcc3D_ColorNormal_frag
var cc3D_ColorNormal_frag
local cc3D_ColorNormal_frag

Detailed Description

Add deprecated global functions and variables here.

Typedef Documentation

typedef std::function<void(Ref*)>
ccMenuCallback
typedef int LUA_FUNCTION
local LUA_FUNCTION
typedef int LUA_STRING
local LUA_STRING
typedef int LUA_TABLE
var LUA_TABLE
local LUA_TABLE
typedef std::list<LuaValue>
LuaValueArray
typedef
LuaValueArray::const_iterator
LuaValueArrayIterator
typedef std::map<std::string,
LuaValue> LuaValueDict
local LuaValueDict
typedef
LuaValueDict::const_iterator
LuaValueDictIterator
typedef struct _MipmapInfo
MipmapInfo
local 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

Parameters
fixturethe fixture hit by the ray
pointthe point of initial intersection
normalthe normal vector at the point of intersection
Returns
true to continue, false to terminate

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

Parameters
fixturethe fixture hit by the ray
pointthe point of initial intersection
normalthe normal vector at the point of intersection
Returns
true to continue, false to terminate

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

Parameters
fixturethe fixture hit by the ray
pointthe point of initial intersection
normalthe normal vector at the point of intersection
Returns
true to continue, false to terminate
typedef int pthread_cond_t
typedef HANDLE pthread_mutex_t
typedef HANDLE pthread_t
var pthread_t
local pthread_t
typedef struct unz_file_info_s
unz_file_info
typedef std::unordered_map
<std::string, Value> ValueMap
var ValueMap
local ValueMap
typedef std::unordered_map<int,
Value> ValueMapIntKey
typedef std::vector<Value>
ValueVector
local ValueVector
typedef std::vector
<ScheduleHandlerDelegate*>
VecShedule
local VecShedule
typedef Vec2 Vect
var Vect
local Vect

Enumeration Type Documentation

anonymous enum
Enumerator
TGA_OK 
TGA_ERROR_FILE_OPEN 
TGA_ERROR_READING_FILE 
TGA_ERROR_INDEXED_COLOR 
TGA_ERROR_MEMORY 
TGA_ERROR_COMPRESSED_FILE 
var enum
Enumerator
TGA_OK 
TGA_ERROR_FILE_OPEN 
TGA_ERROR_READING_FILE 
TGA_ERROR_INDEXED_COLOR 
TGA_ERROR_MEMORY 
TGA_ERROR_COMPRESSED_FILE 
local enum
Enumerator
TGA_OK 
TGA_ERROR_FILE_OPEN 
TGA_ERROR_READING_FILE 
TGA_ERROR_INDEXED_COLOR 
TGA_ERROR_MEMORY 
TGA_ERROR_COMPRESSED_FILE 
anonymous enum
Enumerator
CCZ_COMPRESSION_ZLIB 
CCZ_COMPRESSION_BZIP2 
CCZ_COMPRESSION_GZIP 
CCZ_COMPRESSION_NONE 
var enum
Enumerator
CCZ_COMPRESSION_ZLIB 
CCZ_COMPRESSION_BZIP2 
CCZ_COMPRESSION_GZIP 
CCZ_COMPRESSION_NONE 
local enum
Enumerator
CCZ_COMPRESSION_ZLIB 
CCZ_COMPRESSION_BZIP2 
CCZ_COMPRESSION_GZIP 
CCZ_COMPRESSION_NONE 
anonymous enum
Enumerator
kComponentOnEnter 
kComponentOnExit 
kComponentOnUpdate 
var enum
Enumerator
kComponentOnEnter 
kComponentOnExit 
kComponentOnUpdate 
local enum
Enumerator
kComponentOnEnter 
kComponentOnExit 
kComponentOnUpdate 
enum CameraFlag
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 
var CameraFlag
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 
local CameraFlag
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 
enum Cocos2dEvent
strong
Enumerator
ShowKeyboard 
HideKeyboard 
TerminateApp 
var Cocos2dEvent
strong
Enumerator
ShowKeyboard 
HideKeyboard 
TerminateApp 
local Cocos2dEvent
strong
Enumerator
ShowKeyboard 
HideKeyboard 
TerminateApp 
enum Cocos2dKeyEvent : int
strong
Enumerator
Text 
Escape 
Back 
Enter 
var int
strong
Enumerator
Text 
Escape 
Back 
Enter 
local int
strong
Enumerator
Text 
Escape 
Back 
Enter 
enum EvaluateType
strong

Evaluate Type.

Enumerator
INT_LINEAR 
INT_NEAR 
INT_QUAT_SLERP 
INT_USER_FUNCTION 
var EvaluateType
strong

Evaluate Type.

Enumerator
INT_LINEAR 
INT_NEAR 
INT_QUAT_SLERP 
INT_USER_FUNCTION 
local EvaluateType
strong

Evaluate Type.

Enumerator
INT_LINEAR 
INT_NEAR 
INT_QUAT_SLERP 
INT_USER_FUNCTION 
enum GlyphCollection
strong
Enumerator
DYNAMIC 
NEHE 
ASCII 
CUSTOM 
var GlyphCollection
strong
Enumerator
DYNAMIC 
NEHE 
ASCII 
CUSTOM 
local GlyphCollection
strong
Enumerator
DYNAMIC 
NEHE 
ASCII 
CUSTOM 
enum LabelEffect
strong
Enumerator
NORMAL 
OUTLINE 
SHADOW 
GLOW 
var LabelEffect
strong
Enumerator
NORMAL 
OUTLINE 
SHADOW 
GLOW 
local LabelEffect
strong
Enumerator
NORMAL 
OUTLINE 
SHADOW 
GLOW 
enum LightFlag
strong
Enumerator
LIGHT0 
LIGHT1 
LIGHT2 
LIGHT3 
LIGHT4 
LIGHT5 
LIGHT6 
LIGHT7 
LIGHT8 
LIGHT9 
LIGHT10 
LIGHT11 
LIGHT12 
LIGHT13 
LIGHT14 
LIGHT15 
var LightFlag
strong
Enumerator
LIGHT0 
LIGHT1 
LIGHT2 
LIGHT3 
LIGHT4 
LIGHT5 
LIGHT6 
LIGHT7 
LIGHT8 
LIGHT9 
LIGHT10 
LIGHT11 
LIGHT12 
LIGHT13 
LIGHT14 
LIGHT15 
local LightFlag
strong
Enumerator
LIGHT0 
LIGHT1 
LIGHT2 
LIGHT3 
LIGHT4 
LIGHT5 
LIGHT6 
LIGHT7 
LIGHT8 
LIGHT9 
LIGHT10 
LIGHT11 
LIGHT12 
LIGHT13 
LIGHT14 
LIGHT15 
enum LightType
strong
Enumerator
DIRECTIONAL 
POINT 
SPOT 
AMBIENT 
var LightType
strong
Enumerator
DIRECTIONAL 
POINT 
SPOT 
AMBIENT 
local LightType
strong
Enumerator
DIRECTIONAL 
POINT 
SPOT 
AMBIENT 
Enumerator
kLuaBridgeErrorOk 
kLuaBridgeErrorInvalidParameters 
kLuaBridgeErrorClassNotFound 
kLuaBridgeErrorMethodNotFound 
kLuaBridgeErrorExceptionOccurred 
kLuaBridgeErrorMethodSignature 
kLuaBridgeErrorJavaVMError 
Enumerator
kLuaBridgeErrorOk 
kLuaBridgeErrorInvalidParameters 
kLuaBridgeErrorClassNotFound 
kLuaBridgeErrorMethodNotFound 
kLuaBridgeErrorExceptionOccurred 
kLuaBridgeErrorMethodSignature 
kLuaBridgeErrorJavaVMError 
Enumerator
kLuaBridgeErrorOk 
kLuaBridgeErrorInvalidParameters 
kLuaBridgeErrorClassNotFound 
kLuaBridgeErrorMethodNotFound 
kLuaBridgeErrorExceptionOccurred 
kLuaBridgeErrorMethodSignature 
kLuaBridgeErrorJavaVMError 
Enumerator
LuaValueTypeInt 
LuaValueTypeFloat 
LuaValueTypeBoolean 
LuaValueTypeString 
LuaValueTypeDict 
LuaValueTypeArray 
LuaValueTypeObject 
Enumerator
LuaValueTypeInt 
LuaValueTypeFloat 
LuaValueTypeBoolean 
LuaValueTypeString 
LuaValueTypeDict 
LuaValueTypeArray 
LuaValueTypeObject 
local LuaValueType
Enumerator
LuaValueTypeInt 
LuaValueTypeFloat 
LuaValueTypeBoolean 
LuaValueTypeString 
LuaValueTypeDict 
LuaValueTypeArray 
LuaValueTypeObject 
Enumerator
PointerPressed 
PointerMoved 
PointerReleased 
Enumerator
PointerPressed 
PointerMoved 
PointerReleased 
Enumerator
PointerPressed 
PointerMoved 
PointerReleased 

Function Documentation

public delegate void
cocos2d::Cocos2dEventDelegate
( Cocos2dEvent  event,
Platform::String^  text 
)
var Cocos2dEventDelegate ( var  event,
var  text 
)
local Cocos2dEventDelegate ( local  event,
local  text 
)
public delegate void
cocos2d::Cocos2dMessageBoxDelegate
( Platform::String^  title,
Platform::String^  text 
)
var Cocos2dMessageBoxDelegate ( var  title,
var  text 
)
local Cocos2dMessageBoxDelegate ( local  title,
local  text 
)
public delegate void
cocos2d::Cocos2dEditBoxDelegate
( Platform::String^  strPlaceHolder,
Platform::String^  strText,
int  maxLength,
int  inputMode,
int  inputFlag,
Windows::Foundation::EventHandler< Platform::String^>^  receiveHandler 
)
var Cocos2dEditBoxDelegate ( var  strPlaceHolder,
var  strText,
var  maxLength,
var  inputMode,
var  inputFlag,
var  receiveHandler 
)
local Cocos2dEditBoxDelegate ( local  strPlaceHolder,
local  strText,
local  maxLength,
local  inputMode,
local  inputFlag,
local  receiveHandler 
)
CC_DLL void cocos2d::CGAffineToGL ( const AffineTransform &  t,
GLfloat *  m 
)
var CGAffineToGL ( var  t,
var  m 
)
local CGAffineToGL ( local  t,
local  m 
)
public delegate void
cocos2d::Cocos2dOpenURLDelegate
( Platform::String^  url)
var Cocos2dOpenURLDelegate ( var  url)
local Cocos2dOpenURLDelegate ( local  url)
CC_DLL void cocos2d::GLToCGAffine ( const GLfloat *  m,
AffineTransform *  t 
)
var GLToCGAffine ( var  m,
var  t 
)
local GLToCGAffine ( local  m,
local  t 
)
public delegate void
cocos2d::RequestAdditionalFrameHandler
( )
var RequestAdditionalFrameHandler ( )
local RequestAdditionalFrameHandler ( )
std::wstring CC_DLL
cocos2d::CCUtf8ToUnicode
( const char *  pszUtf8Str,
unsigned  len = -1 
)
var CCUtf8ToUnicode ( var  pszUtf8Str,
var  len = -1 
)
local CCUtf8ToUnicode ( local  pszUtf8Str,
local  len = -1 
)
std::string CC_DLL
cocos2d::CCUnicodeToUtf8
( const wchar_t *  pwszStr)
var CCUnicodeToUtf8 ( var  pwszStr)
local CCUnicodeToUtf8 ( local  pwszStr)
CC_DLL AffineTransform
cocos2d::__CCAffineTransformMake
( float  a,
float  b,
float  c,
float  d,
float  tx,
float  ty 
)
var __CCAffineTransformMake ( var  a,
var  b,
var  c,
var  d,
var  tx,
var  ty 
)
local __CCAffineTransformMake ( local  a,
local  b,
local  c,
local  d,
local  tx,
local  ty 
)
void cocos2d::pthread_mutex_init ( pthread_mutex_t *  m,
void *  attributes 
)
var pthread_mutex_init ( var  m,
var  attributes 
)
local pthread_mutex_init ( local  m,
local  attributes 
)
CC_DLL Vec2
cocos2d::__CCPointApplyAffineTransform
( const Vec2 point,
const AffineTransform &  t 
)
var __CCPointApplyAffineTransform ( var  point,
var  t 
)
local __CCPointApplyAffineTransform ( local  point,
local  t 
)
int cocos2d::pthread_mutex_lock ( pthread_mutex_t *  m)
var pthread_mutex_lock ( var  m)
local pthread_mutex_lock ( local  m)
const PhysicsMaterial
cocos2d::PHYSICSBODY_MATERIAL_DEFAULT
( 0.  1f,
0.  5f,
0.  5f 
)
var PHYSICSBODY_MATERIAL_DEFAULT ( var  1f,
var  5f,
var  5f 
)
local PHYSICSBODY_MATERIAL_DEFAULT ( local  1f,
local  5f,
local  5f 
)
int cocos2d::pthread_mutex_unlock ( pthread_mutex_t *  m)
var pthread_mutex_unlock ( var  m)
local pthread_mutex_unlock ( local  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()

Returns
the length of the out buffer
Since
v0.8.1
var base64Decode ( var  in,
var  inLength,
var  out 
)

Decodes a 64base encoded memory.

The decoded memory is expected to be freed by the caller by calling free()

Returns
the length of the out buffer
Since
v0.8.1
local base64Decode ( local  in,
local  inLength,
local  out 
)

Decodes a 64base encoded memory.

The decoded memory is expected to be freed by the caller by calling free()

Returns
the length of the out buffer
Since
v0.8.1
CC_DLL Size
cocos2d::__CCSizeApplyAffineTransform
( const Size &  size,
const AffineTransform &  t 
)
var __CCSizeApplyAffineTransform ( var  size,
var  t 
)
local __CCSizeApplyAffineTransform ( local  size,
local  t 
)
std::string
cocos2d::PlatformStringToString
( Platform::String^  s)
var PlatformStringToString ( var  s)
local PlatformStringToString ( local  s)
void cocos2d::pthread_mutex_destroy ( pthread_mutex_t *  m)
var pthread_mutex_destroy ( var  m)
local pthread_mutex_destroy ( local  m)
Platform::String
cocos2d::PlatformStringFromString
( const std::string &  s)
var PlatformStringFromString ( var  s)
local PlatformStringFromString ( local  s)
int cocos2d::ccNextPOT ( int  value)

returns the Next Power of Two value.

Examples:

  • If "value" is 15, it will return 16.
  • If "value" is 16, it will return 16.
  • If "value" is 17, it will return 32.
Since
v0.99.5
var ccNextPOT ( var  value)

returns the Next Power of Two value.

Examples:

  • If "value" is 15, it will return 16.
  • If "value" is 16, it will return 16.
  • If "value" is 17, it will return 32.
Since
v0.99.5
local ccNextPOT ( local  value)

returns the Next Power of Two value.

Examples:

  • If "value" is 15, it will return 16.
  • If "value" is 16, it will return 16.
  • If "value" is 17, it will return 32.
Since
v0.99.5
CC_DLL AffineTransform
cocos2d::AffineTransformMakeIdentity
( )
var AffineTransformMakeIdentity ( )
local AffineTransformMakeIdentity ( )
CC_DLL Rect
cocos2d::RectApplyAffineTransform
( const Rect &  rect,
const AffineTransform &  anAffineTransform 
)
var RectApplyAffineTransform ( var  rect,
var  anAffineTransform 
)
local RectApplyAffineTransform ( local  rect,
local  anAffineTransform 
)
float cocos2d::ConvertDipsToPixels ( float  dips)
var ConvertDipsToPixels ( var  dips)
local ConvertDipsToPixels ( local  dips)
CC_DLL Rect
cocos2d::RectApplyTransform
( const Rect &  rect,
const Mat4 transform 
)
var RectApplyTransform ( var  rect,
var  transform 
)
local RectApplyTransform ( local  rect,
local  transform 
)
float cocos2d::getScaledDPIValue ( float  v)
var getScaledDPIValue ( var  v)
local getScaledDPIValue ( local  v)
CC_DLL Vec2
cocos2d::PointApplyTransform
( const Vec2 point,
const Mat4 transform 
)
var PointApplyTransform ( var  point,
var  transform 
)
local PointApplyTransform ( local  point,
local  transform 
)
bool cocos2d::tgaLoadHeader ( unsigned char *  buffer,
unsigned long  bufSize,
tImageTGA info 
)

load the image header fields. We only keep those that matter!

var tgaLoadHeader ( var  buffer,
var  bufSize,
var  info 
)

load the image header fields. We only keep those that matter!

local tgaLoadHeader ( local  buffer,
local  bufSize,
local  info 
)

load the image header fields. We only keep those that matter!

Concurrency::task
<Platform::Array<byte>
^> cocos2d::ReadDataAsync
( Platform::String^  path)
var ReadDataAsync ( var  path)
local ReadDataAsync ( local  path)
CC_DLL AffineTransform
cocos2d::AffineTransformTranslate
( const AffineTransform &  t,
float  tx,
float  ty 
)
var AffineTransformTranslate ( var  t,
var  tx,
var  ty 
)
local AffineTransformTranslate ( local  t,
local  tx,
local  ty 
)
T cocos2d::random ( min,
max 
)
inline

returns a random value between min and max

var random ( var  min,
var  max 
)
inline

returns a random value between min and max

local random ( local  min,
local  max 
)
inline

returns a random value between min and max

CC_DLL AffineTransform
cocos2d::AffineTransformRotate
( const AffineTransform &  aTransform,
float  anAngle 
)
var AffineTransformRotate ( var  aTransform,
var  anAngle 
)
local AffineTransformRotate ( local  aTransform,
local  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()

Returns
the length of the out buffer
Since
v2.1.4
var base64Encode ( var  in,
var  inLength,
var  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()

Returns
the length of the out buffer
Since
v2.1.4
local base64Encode ( local  in,
local  inLength,
local  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()

Returns
the length of the out buffer
Since
v2.1.4
void CC_DLL
cocos2d::CCLogIPAddresses
( )
var CCLogIPAddresses ( )
local CCLogIPAddresses ( )
Vec2 CC_DLL
cocos2d::PointFromString
( const std::string &  str)

Returns a Core Graphics point structure corresponding to the data in a given string.

Parameters
pszContentA 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.
Returns
A Core Graphics structure that represents a point. If the string is not well-formed, the function returns Vec2::ZERO.
var PointFromString ( var  str)

Returns a Core Graphics point structure corresponding to the data in a given string.

Parameters
pszContentA 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.
Returns
A Core Graphics structure that represents a point. If the string is not well-formed, the function returns Vec2::ZERO.
local PointFromString ( local  str)

Returns a Core Graphics point structure corresponding to the data in a given string.

Parameters
pszContentA 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.
Returns
A Core Graphics structure that represents a point. If the string is not well-formed, the function returns Vec2::ZERO.
CC_DLL AffineTransform
cocos2d::AffineTransformScale
( const AffineTransform &  t,
float  sx,
float  sy 
)
var AffineTransformScale ( var  t,
var  sx,
var  sy 
)
local AffineTransformScale ( local  t,
local  sx,
local  sy 
)
const PhysicsMaterial
cocos2d::PHYSICSSHAPE_MATERIAL_DEFAULT
( 0.  0f,
0.  5f,
0.  5f 
)
var PHYSICSSHAPE_MATERIAL_DEFAULT ( var  0f,
var  5f,
var  5f 
)
local PHYSICSSHAPE_MATERIAL_DEFAULT ( local  0f,
local  5f,
local  5f 
)
bool cocos2d::tgaLoadImageData ( unsigned char *  buffer,
unsigned long  bufSize,
tImageTGA info 
)

loads the image pixels. You shouldn't call this function directly

var tgaLoadImageData ( var  buffer,
var  bufSize,
var  info 
)

loads the image pixels. You shouldn't call this function directly

local tgaLoadImageData ( local  buffer,
local  bufSize,
local  info 
)

loads the image pixels. You shouldn't call this function directly

CC_DLL AffineTransform
cocos2d::AffineTransformConcat
( const AffineTransform &  t1,
const AffineTransform &  t2 
)
var AffineTransformConcat ( var  t1,
var  t2 
)
local AffineTransformConcat ( local  t1,
local  t2 
)
std::string CC_DLL
cocos2d::getDeviceIPAddresses
( )
var getDeviceIPAddresses ( )
local getDeviceIPAddresses ( )
CC_DLL bool
cocos2d::AffineTransformEqualToTransform
( const AffineTransform &  t1,
const AffineTransform &  t2 
)
var AffineTransformEqualToTransform ( var  t1,
var  t2 
)
local
AffineTransformEqualToTransform
( local  t1,
local  t2 
)
void CC_DLL cocos2d::log ( const char *  format,
  ... 
)

Output Debug message.

var log ( var  format,
  ... 
)

Output Debug message.

local log ( local  format,
  ... 
)

Output Debug message.

CC_DLL AffineTransform
cocos2d::AffineTransformInvert
( const AffineTransform &  t)
var AffineTransformInvert ( var  t)
local AffineTransformInvert ( local  t)
tImageTGA* cocos2d::tgaLoadBuffer ( unsigned char *  buffer,
long  size 
)

this is the function to call when we want to load an image buffer.

var tgaLoadBuffer ( var  buffer,
var  size 
)

this is the function to call when we want to load an image buffer.

local tgaLoadBuffer ( local  buffer,
local  size 
)

this is the function to call when we want to load an image buffer.

float cocos2d::random ( float  min,
float  max 
)
inline
var random ( var  min,
var  max 
)
inline
local random ( local  min,
local  max 
)
inline
CC_DLL Mat4
cocos2d::TransformConcat
( const Mat4 t1,
const Mat4 t2 
)
var TransformConcat ( var  t1,
var  t2 
)
local TransformConcat ( local  t1,
local  t2 
)
tImageTGA* cocos2d::tgaLoad ( const char *  filename)

this is the function to call when we want to load an image

var tgaLoad ( var  filename)

this is the function to call when we want to load an image

local tgaLoad ( local  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.

var ccArrayNew ( var  capacity)

Allocates and initializes a new array with specified capacity.

local ccArrayNew ( local  capacity)

Allocates and initializes a new array with specified capacity.

void cocos2d::tgaRGBtogreyscale ( tImageTGA info)
var tgaRGBtogreyscale ( var  info)
local tgaRGBtogreyscale ( local  info)
void cocos2d::ccArrayFree ( ccArray *&  arr)

Frees array after removing all remaining objects.

Silently ignores nil arr.

var ccArrayFree ( var  arr)

Frees array after removing all remaining objects.

Silently ignores nil arr.

local ccArrayFree ( local  arr)

Frees array after removing all remaining objects.

Silently ignores nil arr.

long double cocos2d::random ( long double  min,
long double  max 
)
inline
var random ( var  min,
var  max 
)
inline
local random ( local  min,
local  max 
)
inline
void cocos2d::tgaDestroy ( tImageTGA info)

releases the memory used for the image

var tgaDestroy ( var  info)

releases the memory used for the image

local tgaDestroy ( local  info)

releases the memory used for the image

void cocos2d::ccArrayDoubleCapacity ( ccArray *  arr)

Doubles array capacity.

var ccArrayDoubleCapacity ( var  arr)

Doubles array capacity.

local ccArrayDoubleCapacity ( local  arr)

Doubles array capacity.

Size CC_DLL cocos2d::SizeFromString ( const std::string &  str)

Returns a Core Graphics size structure corresponding to the data in a given string.

Parameters
pszContentA 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.
Returns
A Core Graphics structure that represents a size. If the string is not well-formed, the function returns Size::ZERO.
var SizeFromString ( var  str)

Returns a Core Graphics size structure corresponding to the data in a given string.

Parameters
pszContentA 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.
Returns
A Core Graphics structure that represents a size. If the string is not well-formed, the function returns Size::ZERO.
local SizeFromString ( local  str)

Returns a Core Graphics size structure corresponding to the data in a given string.

Parameters