Class cc.TransitionZoomFlipX
Extends
cc.TransitionSceneOriented.
Defined in: CCTransition.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Flips the screen horizontally doing a zoom out/in
The front face is the outgoing scene and the back face is the incoming scene. |
Method Attributes | Method Name and Description |
---|---|
<static> |
cc.TransitionZoomFlipX.create(t, scene, o)
Flips the screen horizontally doing a zoom out/in
The front face is the outgoing scene and the back face is the incoming scene. |
onEnter()
custom on enter
|
- Methods borrowed from class cc.TransitionSceneOriented:
- initWithDuration
- Methods borrowed from class cc.TransitionScene:
- cleanup, draw, finish, hideOutShowIn, onExit
- Methods borrowed from class cc.Scene:
- ctor, 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.TransitionZoomFlipX()
Flips the screen horizontally doing a zoom out/in
The front face is the outgoing scene and the back face is the incoming scene.
The front face is the outgoing scene and the back face is the incoming scene.
Method Detail
<static>
{cc.TransitionZoomFlipX}
cc.TransitionZoomFlipX.create(t, scene, o)
Flips the screen horizontally doing a zoom out/in
The front face is the outgoing scene and the back face is the incoming scene.
The front face is the outgoing scene and the back face is the incoming scene.
// Example var myTransition = cc.TransitionZoomFlipX.create(1.5, nextScene)//default is cc.TRANSITION_ORIENTATION_RIGHT_OVER //OR var myTransition = cc.TransitionZoomFlipX.create(1.5, nextScene, cc.TRANSITION_ORIENTATION_DOWN_OVER)
- Parameters:
- {Number} t
- time in seconds
- {cc.Scene} scene
- {cc.TRANSITION_ORIENTATION_LEFT_OVER|cc.TRANSITION_ORIENTATION_RIGHT_OVER|cc.TRANSITION_ORIENTATION_UP_OVER|cc.TRANSITION_ORIENTATION_DOWN_OVER} o
- Returns:
- {cc.TransitionZoomFlipX}
onEnter()
custom on enter