axmol/cocos/scripting/lua-bindings/auto/api/TransitionScene.lua

72 lines
2.2 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module TransitionScene
-- @extend Scene
-- @parent_module cc
--------------------------------
--
-- @function [parent=#TransitionScene] getInScene
-- @param self
-- @return Scene#Scene ret (return value: cc.Scene)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Called after the transition finishes.
2014-03-10 14:04:58 +08:00
-- @function [parent=#TransitionScene] finish
-- @param self
-- @return TransitionScene#TransitionScene self (return value: cc.TransitionScene)
2014-03-10 14:04:58 +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)
--------------------------------
--
-- @function [parent=#TransitionScene] getDuration
-- @param self
-- @return float#float ret (return value: float)
2014-03-10 14:04:58 +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
-- @return TransitionScene#TransitionScene self (return value: cc.TransitionScene)
2014-03-10 14:04:58 +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
-- @param #float t
2014-03-10 14:04:58 +08:00
-- @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)
2014-03-10 14:04:58 +08:00
return nil