|
Axmol 3.0.0-89d6d9a
|
TransitionSplitCols: The odd columns goes upwards while the even columns goes downwards. More...
#include <Transition.h>
Inherits TransitionScene, and TransitionEaseScene.
Inherited by TransitionSplitRows.
Public Member Functions | |
| virtual ActionInterval * | action () |
| Returns the action that will be performed. | |
| 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 | 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 TransitionSplitCols * | 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... | |
TransitionSplitCols: The odd columns goes upwards while the even columns goes downwards.
|
static |
Creates a transition with duration and incoming scene.
| t | Duration time, in seconds. |
| scene | A given scene. |
|
virtual |
Returns the action that will be performed.
Reimplemented in TransitionSplitRows.
|
overridevirtual |
Returns the Ease action that will be performed on a linear action.
| action | A given interval action. |
Implements TransitionEaseScene.
|
overridevirtual |
Event callback that is invoked every time the Node leaves the 'stage'.
If the Node leaves the 'stage' with a transition, this event is called when the transition finishes. During onExit you can't access a sibling node. If you override onExit, you shall call its parent's one, e.g., Node::onExit(). @lua NA
Reimplemented from TransitionScene.
|
overridevirtual |
Override this method to draw your own node.
The following GL states will be enabled by default:
| state | A scene render traversal state. |
| transform | A transform matrix. |
| flags | Renderer flag. |
Reimplemented from TransitionScene.