Cocos2d-x  4.0.0
Public Member Functions | Static Public Member Functions | List of all members
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...

Inherits TransitionSceneOriented.

Public Member Functions

virtual void onEnter () override
 NA
 

Static Public Member Functions

static TransitionZoomFlipXcreate (float t, Scene *s, Orientation o)
 Creates a transition with duration, incoming scene and orientation.
 
static TransitionZoomFlipXcreate (float t, Scene *s)
 Creates a transition with duration and incoming scene.
 
- Static Public Member Functions inherited from TransitionSceneOriented
static TransitionSceneOrientedcreate (float t, Scene *scene, Orientation orientation)
 Creates a transition with duration, incoming scene and orientation.
 
- Static Public Member Functions inherited from TransitionScene
static TransitionScenecreate (float t, Scene *scene)
 Creates a base transition with duration and incoming scene.
 
- Static Public Member Functions inherited from Scene
static Scenecreate ()
 Creates a new Scene object.
 
static ScenecreateWithSize (const Size &size)
 Creates a new Scene object with a predefined Size.
 
static ScenecreateWithPhysics ()
 Create a scene with physics.
 
- Static Public Member Functions inherited from Node
static Nodecreate ()
 Allocates and initializes a node.
 
static int getAttachedNodeCount ()
 Gets count of nodes those are attached to scene graph.
 
template<typename _T >
static void sortNodes (cocos2d::Vector< _T * > &nodes)
 Sorts helper function.
 

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...
 
- Public Attributes inherited from Ref
unsigned int _ID
 object id, ScriptSupport need public _ID
 
int _luaID
 Lua reference id.
 
void * _scriptObject
 scriptObject, support for swift
 
bool _rooted
 When true, it means that the object was already rooted.
 
- Static Public Attributes inherited from Node
static const int INVALID_TAG = -1
 Default tag used for all the nodes.
 
- Protected Member Functions inherited from TransitionSceneOriented
bool initWithDuration (float t, Scene *scene, Orientation orientation)
 initializes a transition with duration and incoming scene
 

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.

Member Function Documentation

static TransitionZoomFlipX* create ( float  t,
Scene s,
Orientation  o 
)
static

Creates a transition with duration, incoming scene and orientation.

Parameters
tDuration time, in seconds.
sA given scene.
oA given orientation.
Returns
A autoreleased TransitionZoomFlipX object.
static TransitionZoomFlipX* create ( float  t,
Scene s 
)
static

Creates a transition with duration and incoming scene.

Parameters
tDuration time, in seconds.
sA given scene.
Returns
A autoreleased TransitionZoomFlipX object.

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