Class cc.TransitionRotoZoom

Class Summary
Constructor Attributes Constructor Name and Description
 
Rotate and zoom out the outgoing scene, and then rotate and zoom in the incoming

Method Summary

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}
  • onEnter()
    Custom On Enter callback