Cocos2d-x
4.0.0
|
TransitionFlipY: Flips the screen vertically. More...
Inherits TransitionSceneOriented.
Public Member Functions | |
virtual void | onEnter () override |
NA | |
Static Public Member Functions | |
static TransitionFlipY * | create (float t, Scene *s, Orientation o) |
Creates a transition with duration, incoming scene and orientation. | |
static TransitionFlipY * | create (float t, Scene *s) |
Creates a transition with duration and incoming scene. | |
![]() | |
static TransitionSceneOriented * | create (float t, Scene *scene, Orientation orientation) |
Creates a transition with duration, incoming scene and orientation. | |
![]() | |
static TransitionScene * | create (float t, Scene *scene) |
Creates a base transition with duration and incoming scene. | |
![]() | |
static Scene * | create () |
Creates a new Scene object. | |
static Scene * | createWithSize (const Size &size) |
Creates a new Scene object with a predefined Size. | |
static Scene * | createWithPhysics () |
Create a scene with physics. | |
![]() | |
static Node * | create () |
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 | |
![]() | |
enum | Orientation { LEFT_OVER = 0, RIGHT_OVER = 1, UP_OVER = 0, DOWN_OVER = 1 } |
Orientation Type used by some transitions. More... | |
![]() | |
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 const int | INVALID_TAG = -1 |
Default tag used for all the nodes. | |
![]() | |
bool | initWithDuration (float t, Scene *scene, Orientation orientation) |
initializes a transition with duration and incoming scene | |
TransitionFlipY: Flips the screen vertically.
The front face is the outgoing scene and the back face is the incoming scene.
|
static |
Creates a transition with duration, incoming scene and orientation.
t | Duration time, in seconds. |
s | A given scene. |
o | A given orientation. |
|
static |
Creates a transition with duration and incoming scene.
t | Duration time, in seconds. |
s | A given scene. |