mirror of https://github.com/axmolengine/axmol.git
62 lines
2.4 KiB
Lua
62 lines
2.4 KiB
Lua
|
|
--------------------------------
|
|
-- @module TransitionPageTurn
|
|
-- @extend TransitionScene
|
|
-- @parent_module cc
|
|
|
|
--------------------------------
|
|
-- Returns the action that will be performed with size.<br>
|
|
-- param vector A given size.<br>
|
|
-- return The action that will be performed.
|
|
-- @function [parent=#TransitionPageTurn] actionWithSize
|
|
-- @param self
|
|
-- @param #size_table vector
|
|
-- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval)
|
|
|
|
--------------------------------
|
|
-- Creates a base transition with duration and incoming scene.<br>
|
|
-- If back is true then the effect is reversed to appear as if the incoming<br>
|
|
-- scene is being turned from left over the outgoing scene.<br>
|
|
-- param t Duration time, in seconds.<br>
|
|
-- param scene A given scene.<br>
|
|
-- param backwards If back is true then the effect is reversed to appear as if the incoming scene is being turned from left over the outgoing scene.<br>
|
|
-- return True if initialize success.
|
|
-- @function [parent=#TransitionPageTurn] initWithDuration
|
|
-- @param self
|
|
-- @param #float t
|
|
-- @param #cc.Scene scene
|
|
-- @param #bool backwards
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
--------------------------------
|
|
-- Creates a base transition with duration and incoming scene.<br>
|
|
-- If back is true then the effect is reversed to appear as if the incoming<br>
|
|
-- scene is being turned from left over the outgoing scene.<br>
|
|
-- param t Duration time, in seconds.<br>
|
|
-- param scene A given scene.<br>
|
|
-- param backwards If back is true then the effect is reversed to appear as if the incoming scene is being turned from left over the outgoing scene.<br>
|
|
-- return An autoreleased TransitionPageTurn object.
|
|
-- @function [parent=#TransitionPageTurn] create
|
|
-- @param self
|
|
-- @param #float t
|
|
-- @param #cc.Scene scene
|
|
-- @param #bool backwards
|
|
-- @return TransitionPageTurn#TransitionPageTurn ret (return value: cc.TransitionPageTurn)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#TransitionPageTurn] draw
|
|
-- @param self
|
|
-- @param #cc.Renderer renderer
|
|
-- @param #mat4_table transform
|
|
-- @param #unsigned int flags
|
|
-- @return TransitionPageTurn#TransitionPageTurn self (return value: cc.TransitionPageTurn)
|
|
|
|
--------------------------------
|
|
-- js ctor
|
|
-- @function [parent=#TransitionPageTurn] TransitionPageTurn
|
|
-- @param self
|
|
-- @return TransitionPageTurn#TransitionPageTurn self (return value: cc.TransitionPageTurn)
|
|
|
|
return nil
|