|
class | AnimationFrame |
|
class | Animation |
|
class | AnimationCache |
| Singleton that manages the Animations. More...
|
|
class | AtlasNode |
| AtlasNode is a subclass of Node that implements the RGBAProtocol and TextureProtocol protocol. More...
|
|
class | PolygonInfo |
| PolygonInfo is an object holding the required data to display Sprites. More...
|
|
class | AutoPolygon |
| AutoPolygon is a helper Object AutoPolygon's purpose is to process an image into 2d polygon mesh in runtime It has functions for each step in the process, from tracing all the points, to triangulation the result can be then passed to Sprite::create() to create a Polygon Sprite. More...
|
|
class | ClippingNode |
| ClippingNode is a subclass of Node. More...
|
|
class | ClippingRectangleNode |
| Clipping Rectangle Node. More...
|
|
class | DrawNode |
| Node that draws dots, segments and polygons. Faster than the "drawing primitives" since they draws everything in one single batch. More...
|
|
class | FastTMXLayer |
| FastTMXLayer represents the TMX layer. More...
|
|
class | FastTMXTiledMap |
| FastTMXTiledMap knows how to parse and render a TMX map. More...
|
|
class | GridBase |
| Base class for Other grid. More...
|
|
class | Grid3D |
| Grid3D is a 3D grid implementation. More...
|
|
class | TiledGrid3D |
| TiledGrid3D is a 3D grid implementation. More...
|
|
class | Label |
| Label is a subclass of Node that knows how to render text labels. More...
|
|
class | LabelAtlas |
| LabelAtlas is a subclass of AtlasNode. 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 | LayerRadialGradient |
| LayerRadialGradient is a subclass of Layer that draws radial gradients across the background. More...
|
|
class | LayerMultiplex |
| MultipleLayer is a Layer with the ability to multiplex it's children. Features: More...
|
|
class | Menu |
| A Menu for touch handling. More...
|
|
class | MenuItem |
| MenuItem base class. More...
|
|
class | MenuItemLabel |
| An abstract class for "label" MenuItemLabel items. More...
|
|
class | MenuItemAtlasFont |
| A MenuItemAtlasFont. More...
|
|
class | MenuItemFont |
| A MenuItemFont. More...
|
|
class | MenuItemSprite |
| MenuItemSprite accepts Node<RGBAProtocol> objects as items. More...
|
|
class | MenuItemImage |
| MenuItemImage accepts images as items. More...
|
|
class | MenuItemToggle |
| A MenuItemToggle. More...
|
|
class | MotionStreak |
| Creates a trailing path. More...
|
|
class | Node |
| Node is the base element of the Scene Graph. Elements of the Scene Graph must be Node objects or subclasses of it. The most common Node objects are: Scene, Layer, Sprite, Menu, Label. More...
|
|
class | NodeGrid |
| Base class for Grid Node. 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 | ParticleFire |
| A fire particle system. More...
|
|
class | ParticleFireworks |
| A fireworks particle system. More...
|
|
class | ParticleSun |
| A sun particle system. More...
|
|
class | ParticleGalaxy |
| A galaxy particle system. More...
|
|
class | ParticleFlower |
| A flower particle system. More...
|
|
class | ParticleMeteor |
| A meteor particle system. More...
|
|
class | ParticleSpiral |
| An spiral particle system. More...
|
|
class | ParticleExplosion |
| An explosion particle system. More...
|
|
class | ParticleSmoke |
| An smoke particle system. More...
|
|
class | ParticleSnow |
| An snow particle system. More...
|
|
class | ParticleRain |
| A rain particle system. More...
|
|
class | ParticleSystem |
| Particle System base class. Attributes of a Particle System: More...
|
|
class | ParticleSystemQuad |
| ParticleSystemQuad is a subclass of ParticleSystem. More...
|
|
class | ProgressTimer |
| ProgressTimer is a subclass of Node. More...
|
|
class | ProtectedNode |
| A inner node type mainly used for UI module. More...
|
|
class | RenderTexture |
| RenderTexture is a generic rendering target. More...
|
|
class | Scene |
| Scene is a subclass of Node that is used only as an abstract concept. More...
|
|
class | Sprite |
| Sprite is a 2d image ( http://en.wikipedia.org/wiki/Sprite_(computer_graphics) ). 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 | TMXLayer |
| TMXLayer represents the TMX layer. More...
|
|
class | TMXObjectGroup |
| TMXObjectGroup represents the TMX object group. More...
|
|
class | TMXTiledMap |
| TMXTiledMap knows how to parse and render a TMX map. More...
|
|
class | TransitionEaseScene |
| TransitionEaseScene can ease the actions of the scene protocol. More...
|
|
class | TransitionScene |
| Base class for Transition scenes. More...
|
|
class | TransitionSceneOriented |
| A Transition that supports orientation like. Possible orientation: LeftOver, RightOver, UpOver, DownOver. More...
|
|
class | TransitionRotoZoom |
| TransitionRotoZoom: Rotate and zoom out the outgoing scene, and then rotate and zoom in the incoming. More...
|
|
class | TransitionJumpZoom |
| TransitionJumpZoom: Zoom out and jump the outgoing scene, and then jump and zoom in the incoming. 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 | TransitionMoveInB |
| TransitionMoveInB: Move in from to the bottom the incoming scene. 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 | TransitionSlideInB |
| TransitionSlideInB: Slide in the incoming scene from the bottom border. More...
|
|
class | TransitionSlideInT |
| TransitionSlideInT: Slide in the incoming scene from the top border. More...
|
|
class | TransitionShrinkGrow |
| Shrink the outgoing scene while grow the incoming scene. More...
|
|
class | TransitionFlipX |
| TransitionFlipX: Flips the screen horizontally. The front face is the outgoing scene and the back face is the incoming scene. More...
|
|
class | TransitionFlipY |
| TransitionFlipY: Flips the screen vertically. The front face is the outgoing scene and the back face is the incoming scene. More...
|
|
class | TransitionFlipAngular |
| TransitionFlipAngular: Flips the screen half horizontally and half vertically. The front face is the outgoing scene and the back face is the incoming scene. 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 | TransitionZoomFlipAngular |
| TransitionZoomFlipAngular: Flips the screen half horizontally and half vertically doing a little zooming out/in. The front face is the outgoing scene and the back face is the incoming scene. More...
|
|
class | TransitionFade |
| TransitionFade: Fade out the outgoing scene and then fade in the incoming scene.'''. More...
|
|
class | TransitionCrossFade |
| TransitionCrossFade: Cross fades two scenes using the RenderTexture object. More...
|
|
class | TransitionTurnOffTiles |
| TransitionTurnOffTiles: Turn off the tiles of the outgoing scene in random order. 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 | TransitionFadeTR |
| TransitionFadeTR: Fade the tiles of the outgoing scene from the left-bottom corner the to top-right corner. More...
|
|
class | TransitionFadeBL |
| TransitionFadeBL: Fade the tiles of the outgoing scene from the top-right corner to the bottom-left corner. More...
|
|
class | TransitionFadeUp |
| TransitionFadeUp: Fade the tiles of the outgoing scene from the bottom to the top. More...
|
|
class | TransitionFadeDown |
| TransitionFadeDown: Fade the tiles of the outgoing scene from the top to the bottom. 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 |
| A base class of progress transition. More...
|
|
class | TransitionProgressRadialCCW |
| TransitionRadialCCW transition. A counter clock-wise radial transition to the next scene. More...
|
|
class | TransitionProgressRadialCW |
| TransitionRadialCW transition. A counter clock-wise radial transition to the next scene. More...
|
|
class | TransitionProgressHorizontal |
| TransitionProgressHorizontal transition. A clock-wise radial transition to the next scene. More...
|
|
class | TransitionProgressVertical |
| TransitionProgressVertical transition. More...
|
|
class | TransitionProgressInOut |
| TransitionProgressInOut transition. More...
|
|
class | TransitionProgressOutIn |
| TransitionProgressOutIn transition. 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. More...
|
|
struct | sParticle |
|
|
PolygonInfo & | operator= (const PolygonInfo &other) |
| Copy the member of the other PolygonInfo. More...
|
|
void | setQuad (V3F_C4B_T2F_Quad *quad) |
| set the data to be a pointer to a quad the member verts will not be released when this PolygonInfo destructs as the verts memory are managed by other objects More...
|
|
void | setQuads (V3F_C4B_T2F_Quad *quads, int numberOfQuads) |
| set the data to be a pointer to a number of Quads the member verts will not be released when this PolygonInfo destructs as the verts memory are managed by other objects More...
|
|
void | setTriangles (const TrianglesCommand::Triangles &triangles) |
| set the data to be a pointer to a triangles the member verts will not be released when this PolygonInfo destructs as the verts memory are managed by other objects More...
|
|
unsigned int | getVertCount () const |
| get vertex count More...
|
|
unsigned int | getTrianglesCount () const |
| get triangles count More...
|
|
float | getArea () const |
| get sum of all triangle area size More...
|
|
| AutoPolygon (const std::string &filename) |
| create an AutoPolygon and initialize it with an image file the image must be a 32bit PNG for current version 3.7 More...
|
|
| ~AutoPolygon () |
| Destructor of AutoPolygon.
|
|
std::vector< Vec2 > | trace (const cocos2d::Rect &rect, float threshold=0.0f) |
| trace all the points along the outline of the image, More...
|
|
std::vector< Vec2 > | reduce (const std::vector< Vec2 > &points, const Rect &rect, float epsilon=2.0f) |
| reduce the amount of points so its faster for GPU to process and draw based on Ramer-Douglas-Peucker algorithm More...
|
|
std::vector< Vec2 > | expand (const std::vector< Vec2 > &points, const Rect &rect, float epsilon) |
| expand the points along their edge, useful after you reduce the points that cuts into the sprite using ClipperLib More...
|
|
TrianglesCommand::Triangles | triangulate (const std::vector< Vec2 > &points) |
| Triangulate the input points into triangles for rendering using poly2tri. More...
|
|
void | calculateUV (const Rect &rect, V3F_C4B_T2F *verts, ssize_t count) |
| calculate the UV coordinates for each points based on a texture rect More...
|
|
PolygonInfo | generateTriangles (const Rect &rect=Rect::ZERO, float epsilon=2.0f, float threshold=0.05f) |
| a helper function, packing trace, reduce, expand, triangulate and calculate uv in one function More...
|
|
static PolygonInfo | generatePolygon (const std::string &filename, const Rect &rect=Rect::ZERO, float epsilon=2.0f, float threshold=0.05f) |
| a helper function, packing autoPolygon creation, trace, reduce, expand, triangulate and calculate uv in one function More...
|
|
bool | isScreenPointInRect (const Vec2 &pt, const Camera *camera, const Mat4 &w2l, const Rect &rect, Vec3 *p) |
| This is a helper function, checks a GL screen point is in content rectangle space. More...
|
|