Class CCTransitionPageTurn

#include <Geode/cocos/layers_scenes_transitions_nodes/CCTransitionPageTurn.h>
classCCTransitionPageTurn:publiccocos2d::CCTransitionScene{ ... }

Since v0.8.2

A transition which peels back the bottom right hand corner of a scene to transition to the scene beneath it simulating a page turn. This uses a 3DAction so it’s strongly recommended that depth buffering is turned on in CCDirector using: CCDirector::sharedDirector()->setDepthBufferFormat(kDepthBuffer16);

Examples0
Public static methods1
staticcocos2d::CCTransitionPageTurn*create(,,
boolbackwards
)

Creates a base transition with duration and incoming scene. If back is true then the effect is reversed to appear as if the incoming scene is being turned from left over the outgoing scene.

Public member functions3
virtualboolinitWithDuration(,,
boolbackwards
)

Creates a base transition with duration and incoming scene. If back is true then the effect is reversed to appear as if the incoming scene is being turned from left over the outgoing scene.

cocos2d::CCActionInterval*actionWithSize()
No description provided
virtualvoidonEnter()
No description provided
Fields0
Protected member functions1
virtualvoidsceneOrder()
No description provided
Protected fields1
boolm_bBack
;
No description provided