cocos2d-x  3.0-rc0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TransitionZoomFlipX Class Reference

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...

#include <CCTransition.h>

Inheritance diagram for TransitionZoomFlipX:
TransitionSceneOriented TransitionScene Scene Node Ref

Public Member Functions

virtual void onEnter () override
 Event callback that is invoked every time when Node enters the 'stage'. More...
 

Static Public Member Functions

static TransitionZoomFlipXcreate (float t, Scene *s, Orientation o)
static TransitionZoomFlipXcreate (float t, Scene *s)
- Static Public Member Functions inherited from TransitionSceneOriented
static TransitionSceneOrientedcreate (float t, Scene *scene, Orientation orientation)
 creates a base transition with duration and incoming scene More...
 
- Static Public Member Functions inherited from TransitionScene
static TransitionScenecreate (float t, Scene *scene)
 creates a base transition with duration and incoming scene More...
 
- Static Public Member Functions inherited from Scene
static Scenecreate ()
 creates a new Scene object More...
 
var create ()
 creates a new Scene object More...
 
local create ()
 creates a new Scene object More...
 
static ScenecreateWithPhysics ()
var createWithPhysics ()
local createWithPhysics ()
- Static Public Member Functions inherited from Node
static Nodecreate (void)
 Allocates and initializes a node. More...
 
local create ()
 Allocates and initializes a node. More...
 

Protected Member Functions

 TransitionZoomFlipX ()
virtual ~TransitionZoomFlipX ()
- Protected Member Functions inherited from TransitionSceneOriented
 TransitionSceneOriented ()
virtual ~TransitionSceneOriented ()
bool initWithDuration (float t, Scene *scene, Orientation orientation)
 initializes a transition with duration and incoming scene More...
 
- Protected Member Functions inherited from TransitionScene
 TransitionScene ()
virtual ~TransitionScene ()
bool initWithDuration (float t, Scene *scene)
 initializes a transition with duration and incoming scene More...
 
virtual void sceneOrder ()
void setNewScene (float dt)
- Protected Member Functions inherited from Scene
 Scene ()
 Scene ()
 Scene ()
virtual ~Scene ()
var ~Scene ()
local ~Scene ()
virtual bool init () override
local init ()
bool initWithPhysics ()
var initWithPhysics ()
local initWithPhysics ()
void addChildToPhysicsWorld (Node *child)
var addChildToPhysicsWorld ( var child)
local addChildToPhysicsWorld ( local child)
- Protected Member Functions inherited from Node
 Node ()
 Node ()
 Node ()
virtual ~Node ()
local ~Node ()
void childrenAlloc (void)
 lazy allocs More...
 
var childrenAlloc ()
 lazy allocs More...
 
local childrenAlloc ()
 lazy allocs More...
 
void insertChild (Node *child, int z)
 helper that reorder a child More...
 
var insertChild ( var child, var z)
 helper that reorder a child More...
 
local insertChild ( local child, local z)
 helper that reorder a child More...
 
void detachChild (Node *child, ssize_t index, bool doCleanup)
 Removes a child, call child->onExit(), do cleanup, remove it from children array. More...
 
var detachChild ( var child, var index, var doCleanup)
 Removes a child, call child->onExit(), do cleanup, remove it from children array. More...
 
local detachChild ( local child, local index, local doCleanup)
 Removes a child, call child->onExit(), do cleanup, remove it from children array. More...
 
Point convertToWindowSpace (const Point &nodePoint) const
 Convert cocos2d coordinates to UI windows coordinate. More...
 
var convertToWindowSpace ( var nodePoint)
 Convert cocos2d coordinates to UI windows coordinate. More...
 
local convertToWindowSpace ( local nodePoint)
 Convert cocos2d coordinates to UI windows coordinate. More...
 
kmMat4 transform (const kmMat4 &parentTransform)
virtual void updateCascadeOpacity ()
var updateCascadeOpacity ()
local updateCascadeOpacity ()
virtual void disableCascadeOpacity ()
var disableCascadeOpacity ()
local disableCascadeOpacity ()
virtual void updateCascadeColor ()
var updateCascadeColor ()
local updateCascadeColor ()
virtual void disableCascadeColor ()
virtual void updateColor ()
var updateColor ()
local updateColor ()
- Protected Member Functions inherited from Ref
 Ref ()
 Constructor. More...
 

Additional Inherited Members

- Public Types inherited from TransitionScene
enum  Orientation { LEFT_OVER = 0, RIGHT_OVER = 1, UP_OVER = 0, DOWN_OVER = 1 }
 Orientation Type used by some transitions. More...
 
- Static Public Attributes inherited from Node
static const int INVALID_TAG = -1
 Default tag used for all the nodes. More...
 
var INVALID_TAG = -1
 Default tag used for all the nodes. More...
 
local INVALID_TAG = -1
 Default tag used for all the nodes. More...
 
- Protected Attributes inherited from TransitionSceneOriented
Orientation _orientation

Detailed Description

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.

Constructor & Destructor Documentation

TransitionZoomFlipX ( )
protected
virtual ~TransitionZoomFlipX ( )
protectedvirtual

Member Function Documentation

static TransitionZoomFlipX* create ( float  t,
Scene s,
Orientation  o 
)
static
static TransitionZoomFlipX* create ( float  t,
Scene s 
)
static
virtual void onEnter ( )
overridevirtual

Event callback that is invoked every time when Node enters the 'stage'.

If the Node enters the 'stage' with a transition, this event is called when the transition starts. During onEnter you can't access a "sister/brother" node. If you override onEnter, you shall call its parent's one, e.g., Node::onEnter().

Reimplemented from TransitionScene.


The documentation for this class was generated from the following file: