2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module NodeGrid
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend Node
|
2014-06-25 17:36:50 +08:00
|
|
|
-- @parent_module cc
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2015-07-28 17:21:06 +08:00
|
|
|
--------------------------------
|
|
|
|
-- 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)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2015-03-20 12:53:00 +08:00
|
|
|
-- Set the Grid Target. <br>
|
|
|
|
-- param target A Node is used to set the Grid Target.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#NodeGrid] setTarget
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #cc.Node target
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return NodeGrid#NodeGrid self (return value: cc.NodeGrid)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
2015-07-28 17:21:06 +08:00
|
|
|
--------------------------------
|
|
|
|
-- 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)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2014-07-17 10:28:34 +08:00
|
|
|
-- @overload self
|
|
|
|
-- @overload self
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#NodeGrid] getGrid
|
|
|
|
-- @param self
|
2014-10-17 22:56:22 +08:00
|
|
|
-- @return GridBase#GridBase ret (return value: cc.GridBase)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2015-07-28 17:21:06 +08:00
|
|
|
-- brief Get the effect grid rect.<br>
|
|
|
|
-- return Return the effect grid rect.
|
|
|
|
-- @function [parent=#NodeGrid] getGridRect
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2015-07-28 17:21:06 +08:00
|
|
|
-- @return rect_table#rect_table ret (return value: rect_table)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2015-07-28 17:21:06 +08:00
|
|
|
-- @overload self, rect_table
|
|
|
|
-- @overload self
|
|
|
|
-- @function [parent=#NodeGrid] create
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2015-07-28 17:21:06 +08:00
|
|
|
-- @param #rect_table rect
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return NodeGrid#NodeGrid ret (return value: cc.NodeGrid)
|
2015-07-28 17:21:06 +08:00
|
|
|
|
2014-05-23 11:12:39 +08:00
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-05-23 11:12:39 +08:00
|
|
|
-- @function [parent=#NodeGrid] visit
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Renderer renderer
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #mat4_table parentTransform
|
|
|
|
-- @param #unsigned int parentFlags
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return NodeGrid#NodeGrid self (return value: cc.NodeGrid)
|
2014-05-23 11:12:39 +08:00
|
|
|
|
2015-05-05 11:31:53 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#NodeGrid] NodeGrid
|
|
|
|
-- @param self
|
|
|
|
-- @return NodeGrid#NodeGrid self (return value: cc.NodeGrid)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
return nil
|