cocos2d-x  3.0Beta0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TransitionProgressHorizontal Class Reference

TransitionProgressHorizontal transition. More...

#include <CCTransitionProgress.h>

Inheritance diagram for TransitionProgressHorizontal:
TransitionProgress TransitionScene Scene Node Object

Static Public Member Functions

static
TransitionProgressHorizontal
create (float t, Scene *scene)
- Static Public Member Functions inherited from TransitionProgress
static TransitionProgresscreate (float t, Scene *scene)
local create ( local t, local scene)
- Static Public Member Functions inherited from TransitionScene
static TransitionScenecreate (float t, Scene *scene)
 creates a base transition with duration and incoming scene More...
 
- Static Public Member Functions inherited from Scene
static Scenecreate ()
 creates a new Scene object More...
 
var create ()
 creates a new Scene object More...
 
local create ()
 creates a new Scene object More...
 
static ScenecreateWithPhysics ()
var createWithPhysics ()
local createWithPhysics ()
- Static Public Member Functions inherited from Node
static Nodecreate (void)
 Allocates and initializes a node. More...
 
var create ()
 Allocates and initializes a node. More...
 
local create ()
 Allocates and initializes a node. More...
 

Protected Member Functions

virtual ProgressTimerprogressTimerNodeWithRenderTexture (RenderTexture *texture) override
- Protected Member Functions inherited from TransitionProgress
virtual void sceneOrder () override
virtual void setupTransition ()
- Protected Member Functions inherited from TransitionScene
 TransitionScene ()
 TransitionScene ()
 TransitionScene ()
virtual ~TransitionScene ()
var ~TransitionScene ()
local ~TransitionScene ()
bool initWithDuration (float t, Scene *scene)
 initializes a transition with duration and incoming scene More...
 
var initWithDuration ( var t, var scene)
 initializes a transition with duration and incoming scene More...
 
local initWithDuration ( local t, local scene)
 initializes a transition with duration and incoming scene More...
 
void setNewScene (float dt)
var setNewScene ( var dt)
local setNewScene ( local dt)
- Protected Member Functions inherited from Scene
 Scene ()
 Scene ()
 Scene ()
virtual ~Scene ()
var ~Scene ()
local ~Scene ()
bool init ()
var init ()
local init ()
bool initWithPhysics ()
var initWithPhysics ()
local initWithPhysics ()
void addChildToPhysicsWorld (Node *child)
var addChildToPhysicsWorld ( var child)
local addChildToPhysicsWorld ( local child)
- Protected Member Functions inherited from Node
 Node ()
 Node ()
 Node ()
virtual ~Node ()
local ~Node ()
void childrenAlloc (void)
 lazy allocs More...
 
var childrenAlloc ()
 lazy allocs More...
 
local childrenAlloc ()
 lazy allocs More...
 
void insertChild (Node *child, int z)
 helper that reorder a child More...
 
var insertChild ( var child, var z)
 helper that reorder a child More...
 
local insertChild ( local child, local z)
 helper that reorder a child More...
 
void detachChild (Node *child, ssize_t index, bool doCleanup)
 Removes a child, call child->onExit(), do cleanup, remove it from children array. More...
 
var detachChild ( var child, var index, var doCleanup)
 Removes a child, call child->onExit(), do cleanup, remove it from children array. More...
 
local detachChild ( local child, local index, local doCleanup)
 Removes a child, call child->onExit(), do cleanup, remove it from children array. More...
 
Point convertToWindowSpace (const Point &nodePoint) const
 Convert cocos2d coordinates to UI windows coordinate. More...
 
var convertToWindowSpace ( var nodePoint)
 Convert cocos2d coordinates to UI windows coordinate. More...
 
local convertToWindowSpace ( local nodePoint)
 Convert cocos2d coordinates to UI windows coordinate. More...
 
virtual void updateCascadeOpacity ()
virtual void disableCascadeOpacity ()
virtual void updateCascadeColor ()
virtual void disableCascadeColor ()
virtual void updateColor ()
var updateColor ()
local updateColor ()

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
 TransitionProgress ()
virtual void onEnter () override
 Event callback that is invoked every time when Node enters the 'stage'. More...
 
virtual void onExit () override
 Event callback that is invoked every time the Node leaves the 'stage'. More...
 
var onExit ()
 Event callback that is invoked every time the Node leaves the 'stage'. More...
 
local onExit ()
 Event callback that is invoked every time the Node leaves the 'stage'. More...
 
- Public Attributes inherited from Object
unsigned int _ID
 object id, ScriptSupport need public _ID More...
 
int _luaID
 Lua reference id. More...
 
var _luaID
 Lua reference id. More...
 
local _luaID
 Lua reference id. More...
 
- Static Public Attributes inherited from Node
static const int INVALID_TAG = -1
 Default tag used for all the nodes. More...
 
var INVALID_TAG = -1
 Default tag used for all the nodes. More...
 
local INVALID_TAG = -1
 Default tag used for all the nodes. More...
 
- Protected Attributes inherited from TransitionProgress
float _to
float _from
Scene_sceneToBeModified
var _sceneToBeModified
local _sceneToBeModified

Detailed Description

TransitionProgressHorizontal transition.

A clock-wise radial transition to the next scene

Member Function Documentation

static
TransitionProgressHorizontal*
create
( float  t,
Scene scene 
)
static
virtual ProgressTimer*
progressTimerNodeWithRenderTexture
( RenderTexture texture)
overrideprotectedvirtual

Reimplemented from TransitionProgress.


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