Axmol 3.0.0-89d6d9a
Loading...
Searching...
No Matches
TransitionFadeUp Class Reference

TransitionFadeUp: Fade the tiles of the outgoing scene from the bottom to the top. More...

#include <Transition.h>

Inherits TransitionFadeTR.

Public Member Functions

ActionInterval * actionWithSize (const Vec2 &size) override
 Returns the action that will be performed with size.
Public Member Functions inherited from TransitionFadeTR
void onEnter () override
 @lua NA
ActionInterval * easeActionWithAction (ActionInterval *action) override
 Returns the Ease action that will be performed on a linear action.
void onExit () override
 Event callback that is invoked every time the Node leaves the 'stage'.
void draw (const SceneRenderState &state, const Mat4 &transform, uint32_t flags) override
 Override this method to draw your own node.
Public Member Functions inherited from TransitionScene
void finish ()
 Called after a transition finishes.
void hideOutShowIn ()
 Used by some transitions to hide the outer scene.
void draw (const SceneRenderState &state, const Mat4 &transform, uint32_t flags) override
 Override this method to draw your own node.
void onEnter () override
 Event callback that is invoked every time when Node enters the 'stage'.
void onExit () override
 Event callback that is invoked every time the Node leaves the 'stage'.
void cleanup () override
 Stops all running actions and schedulers.
bool initWithDuration (float t, Scene *scene)
 initializes a transition with duration and incoming scene
Public Member Functions inherited from TransitionEaseScene
virtual ~TransitionEaseScene ()
 Constructor.

Static Public Member Functions

static TransitionFadeUp * create (float t, Scene *scene)
 Creates a transition with duration and incoming scene.
Static Public Member Functions inherited from TransitionFadeTR
static TransitionFadeTR * create (float t, Scene *scene)
 Creates a transition with duration and incoming scene.
Static Public Member Functions inherited from TransitionScene
static TransitionScene * create (float t, Scene *scene)
 Creates a base transition with duration and incoming scene.

Additional Inherited Members

Public Types inherited from TransitionScene
enum class  Orientation { LEFT_OVER = 0 , RIGHT_OVER = 1 , UP_OVER = 0 , DOWN_OVER = 1 }
 Orientation Type used by some transitions. More...

Detailed Description

TransitionFadeUp: Fade the tiles of the outgoing scene from the bottom to the top.

Member Function Documentation

◆ create()

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

Creates a transition with duration and incoming scene.

Parameters
tDuration time, in seconds.
sceneA given scene.
Returns
A autoreleased TransitionFadeUp object.

◆ actionWithSize()

ActionInterval * actionWithSize ( const Vec2 & size)
overridevirtual

Returns the action that will be performed with size.

Parameters
sizeA given size.
Returns
The action that will be performed.

Reimplemented from TransitionFadeTR.


The documentation for this class was generated from the following file:
  • Transition.h