Class cc.TransitionFade

Class Summary
Constructor Attributes Constructor Name and Description
 
cc.TransitionFade(t, scene, o)
Fade out the outgoing scene and then fade in the incoming scene.

Method Summary

Class Detail

cc.TransitionFade(t, scene, o)
Fade out the outgoing scene and then fade in the incoming scene.
var trans = new cc.TransitionFade(time,scene,color)
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

Method Detail