-------------------------------- -- @module TransitionScene -- @extend Scene -- @parent_module cc -------------------------------- -- -- @function [parent=#TransitionScene] getInScene -- @param self -- @return Scene#Scene ret (return value: cc.Scene) -------------------------------- -- Called after the transition finishes. -- @function [parent=#TransitionScene] finish -- @param self -- @return TransitionScene#TransitionScene self (return value: cc.TransitionScene) -------------------------------- -- 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) -------------------------------- -- -- @function [parent=#TransitionScene] getDuration -- @param self -- @return float#float ret (return value: float) -------------------------------- -- Used by some transitions to hide the outer scene. -- @function [parent=#TransitionScene] hideOutShowIn -- @param self -- @return TransitionScene#TransitionScene self (return value: cc.TransitionScene) -------------------------------- -- Creates a base transition with duration and incoming scene.
-- param t Duration time, in seconds.
-- param scene A given scene.
-- return A autoreleased TransitionScene object. -- @function [parent=#TransitionScene] create -- @param self -- @param #float t -- @param #cc.Scene scene -- @return TransitionScene#TransitionScene ret (return value: cc.TransitionScene) -------------------------------- -- -- @function [parent=#TransitionScene] draw -- @param self -- @param #cc.Renderer renderer -- @param #mat4_table transform -- @param #unsigned int flags -- @return TransitionScene#TransitionScene self (return value: cc.TransitionScene) -------------------------------- -- -- @function [parent=#TransitionScene] cleanup -- @param self -- @return TransitionScene#TransitionScene self (return value: cc.TransitionScene) -------------------------------- -- -- @function [parent=#TransitionScene] TransitionScene -- @param self -- @return TransitionScene#TransitionScene self (return value: cc.TransitionScene) return nil