Class cc.TransitionRotoZoom
Extends
cc.TransitionScene.
Defined in: CCTransition.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Rotate and zoom out the outgoing scene, and then rotate and zoom in the incoming
|
Method Attributes | Method Name and Description |
---|---|
<static> |
cc.TransitionRotoZoom.create(t, scene)
Creates a Transtion rotation and zoom
|
ctor()
Constructor
|
|
onEnter()
Custom On Enter callback
|
- Methods borrowed from class cc.TransitionScene:
- cleanup, draw, finish, hideOutShowIn, initWithDuration, onExit
- Methods borrowed from class cc.Scene:
- init
- Methods borrowed from class cc.Node:
- addChild, convertToNodeSpace, convertToNodeSpaceAR, convertTouchToNodeSpace, convertTouchToNodeSpaceAR, convertToWorldSpace, convertToWorldSpaceAR, description, getActionByTag, getActionManager, getAnchorPoint, getAnchorPointInPoints, getBoundingBox, getBoundingBoxToWorld, getCamera, getChildByTag, getChildren, getChildrenCount, getContentSize, getGLServerState, getGrid, getOrderOfArrival, getParent, getPosition, getPositionX, getPositionY, getRotation, getScale, getScaleX, getScaleY, getScheduler, getShaderProgram, getSkewX, getSkewY, getTag, getUserData, getUserObject, getVertexZ, getZOrder, ignoreAnchorPointForPosition, isIgnoreAnchorPointForPosition, isRunning, isVisible, nodeToParentTransform, nodeToWorldTransform, numberOfRunningActions, onEnterTransitionDidFinish, onExitTransitionDidStart, parentToNodeTransform, pauseSchedulerAndActions, release, removeAllChildren, removeAllChildrenWithCleanup, removeChild, removeChildByTag, removeFromParent, removeFromParentAndCleanup, reorderChild, resumeSchedulerAndActions, retain, runAction, schedule, scheduleOnce, scheduleUpdate, scheduleUpdateWithPriority, setActionManager, setAnchorPoint, setContentSize, setGLServerState, setGrid, setNodeDirty, setOrderOfArrival, setParent, setPosition, setPositionX, setPositionY, setRotation, setScale, setScaleX, setScaleY, setScheduler, setShaderProgram, setSkewX, setSkewY, setTag, setUserData, setUserObject, setVertexZ, setVisible, setZOrder, sortAllChildren, stopAction, stopActionByTag, stopAllActions, transform, transformAncestors, unschedule, unscheduleAllCallbacks, unscheduleUpdate, update, updateTransform, visit, worldToNodeTransform
Class Detail
cc.TransitionRotoZoom()
Rotate and zoom out the outgoing scene, and then rotate and zoom in the incoming
Method Detail
<static>
{cc.TransitionRotoZoom}
cc.TransitionRotoZoom.create(t, scene)
Creates a Transtion rotation and zoom
// Example var RotoZoomTrans = cc.TransitionRotoZoom.create(2, nextScene);
- Parameters:
- {Number} t
- time in seconds
- {cc.Scene} scene
- the scene to work with
- Returns:
- {cc.TransitionRotoZoom}
ctor()
Constructor
onEnter()
Custom On Enter callback