Cocos2d-x  4.0.0
Static Public Member Functions | Protected Member Functions | List of all members
TransitionProgressOutIn Class Reference

TransitionProgressOutIn transition. More...

Inherits TransitionProgress.

Static Public Member Functions

static TransitionProgressOutIncreate (float t, Scene *scene)
 Creates a transition with duration and incoming scene.
 
- Static Public Member Functions inherited from TransitionProgress
static TransitionProgresscreate (float t, Scene *scene)
 Creates a transition with duration and incoming scene.
 
- 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.
 

Protected Member Functions

 TransitionProgressOutIn ()
 ctor
 

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 Member Functions inherited from TransitionProgress
virtual void onEnter () override
 Event callback that is invoked every time when Node enters the 'stage'.
 
virtual void onExit () override
 Event callback that is invoked every time the Node leaves the 'stage'.
 
- 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.
 

Detailed Description

TransitionProgressOutIn transition.

Member Function Documentation

static TransitionProgressOutIn* create ( float  t,
Scene scene 
)
static

Creates a transition with duration and incoming scene.

Parameters
tDuration time, in seconds.
sceneA given scene.
Returns
An autoreleased TransitionProgressOutIn object.

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