mirror of https://github.com/axmolengine/axmol.git
69 lines
2.0 KiB
Lua
69 lines
2.0 KiB
Lua
|
|
--------------------------------
|
|
-- @module NodeGrid
|
|
-- @extend Node
|
|
-- @parent_module cc
|
|
|
|
--------------------------------
|
|
-- brief Set the effect grid rect.<br>
|
|
-- param gridRect The effect grid rect.
|
|
-- @function [parent=#NodeGrid] setGridRect
|
|
-- @param self
|
|
-- @param #rect_table gridRect
|
|
-- @return NodeGrid#NodeGrid self (return value: cc.NodeGrid)
|
|
|
|
--------------------------------
|
|
-- Set the Grid Target. <br>
|
|
-- param target A Node is used to set the Grid Target.
|
|
-- @function [parent=#NodeGrid] setTarget
|
|
-- @param self
|
|
-- @param #cc.Node target
|
|
-- @return NodeGrid#NodeGrid self (return value: cc.NodeGrid)
|
|
|
|
--------------------------------
|
|
-- Changes a grid object that is used when applying effects.<br>
|
|
-- param grid A Grid object that is used when applying effects.
|
|
-- @function [parent=#NodeGrid] setGrid
|
|
-- @param self
|
|
-- @param #cc.GridBase grid
|
|
-- @return NodeGrid#NodeGrid self (return value: cc.NodeGrid)
|
|
|
|
--------------------------------
|
|
-- @overload self
|
|
-- @overload self
|
|
-- @function [parent=#NodeGrid] getGrid
|
|
-- @param self
|
|
-- @return GridBase#GridBase ret (return value: cc.GridBase)
|
|
|
|
--------------------------------
|
|
-- brief Get the effect grid rect.<br>
|
|
-- return Return the effect grid rect.
|
|
-- @function [parent=#NodeGrid] getGridRect
|
|
-- @param self
|
|
-- @return rect_table#rect_table ret (return value: rect_table)
|
|
|
|
--------------------------------
|
|
-- @overload self, rect_table
|
|
-- @overload self
|
|
-- @function [parent=#NodeGrid] create
|
|
-- @param self
|
|
-- @param #rect_table rect
|
|
-- @return NodeGrid#NodeGrid ret (return value: cc.NodeGrid)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#NodeGrid] visit
|
|
-- @param self
|
|
-- @param #cc.Renderer renderer
|
|
-- @param #mat4_table parentTransform
|
|
-- @param #unsigned int parentFlags
|
|
-- @return NodeGrid#NodeGrid self (return value: cc.NodeGrid)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#NodeGrid] NodeGrid
|
|
-- @param self
|
|
-- @return NodeGrid#NodeGrid self (return value: cc.NodeGrid)
|
|
|
|
return nil
|