2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module TransitionScene
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend Scene
|
2014-06-25 17:36:50 +08:00
|
|
|
-- @parent_module cc
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2015-04-03 15:53:06 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#TransitionScene] getInScene
|
|
|
|
-- @param self
|
|
|
|
-- @return Scene#Scene ret (return value: cc.Scene)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2015-03-23 16:29:35 +08:00
|
|
|
-- Called after the transition finishes.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#TransitionScene] finish
|
|
|
|
-- @param self
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return TransitionScene#TransitionScene self (return value: cc.TransitionScene)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
2015-05-05 11:31:53 +08:00
|
|
|
--------------------------------
|
|
|
|
-- initializes a transition with duration and incoming scene
|
|
|
|
-- @function [parent=#TransitionScene] initWithDuration
|
|
|
|
-- @param self
|
|
|
|
-- @param #float t
|
|
|
|
-- @param #cc.Scene scene
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
2015-04-03 15:53:06 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#TransitionScene] getDuration
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2015-03-23 16:29:35 +08:00
|
|
|
-- Used by some transitions to hide the outer scene.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#TransitionScene] hideOutShowIn
|
|
|
|
-- @param self
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return TransitionScene#TransitionScene self (return value: cc.TransitionScene)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2015-03-23 16:29:35 +08:00
|
|
|
-- Creates a base transition with duration and incoming scene.<br>
|
|
|
|
-- param t Duration time, in seconds.<br>
|
|
|
|
-- param scene A given scene.<br>
|
|
|
|
-- return A autoreleased TransitionScene object.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#TransitionScene] create
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float t
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param #cc.Scene scene
|
|
|
|
-- @return TransitionScene#TransitionScene ret (return value: cc.TransitionScene)
|
|
|
|
|
2014-03-18 15:55:30 +08:00
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#TransitionScene] draw
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Renderer renderer
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #mat4_table transform
|
|
|
|
-- @param #unsigned int flags
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return TransitionScene#TransitionScene self (return value: cc.TransitionScene)
|
2014-03-18 15:55:30 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#TransitionScene] cleanup
|
|
|
|
-- @param self
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return TransitionScene#TransitionScene self (return value: cc.TransitionScene)
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2015-05-05 11:31:53 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#TransitionScene] TransitionScene
|
|
|
|
-- @param self
|
|
|
|
-- @return TransitionScene#TransitionScene self (return value: cc.TransitionScene)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
return nil
|