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(t, scene)
Rotate and zoom out the outgoing scene, and then rotate and zoom in the incoming
var trans = new cc.TransitionRotoZoom(t, scene);
Parameters:
{Number} t
time in seconds
{cc.Scene} scene

Method Detail

  • <static> {cc.TransitionRotoZoom} cc.TransitionRotoZoom.create(t, scene)
    Creates a Transition rotation and zoom
    Parameters:
    {Number} t
    time in seconds
    {cc.Scene} scene
    the scene to work with
    Deprecated:
    since v3.0,please use new cc.TransitionRotoZoom(t, scene) instead
    Returns:
    {cc.TransitionRotoZoom}
  • ctor(t, scene)
    Constructor of TransitionRotoZoom
    Parameters:
    {Number} t
    time in seconds
    {cc.Scene} scene
  • onEnter()
    Custom On Enter callback