mirror of https://github.com/axmolengine/axmol.git
55 lines
1.9 KiB
Lua
55 lines
1.9 KiB
Lua
|
|
--------------------------------
|
|
-- @module ClippingRectangleNode
|
|
-- @extend Node
|
|
-- @parent_module cc
|
|
|
|
--------------------------------
|
|
-- brief Get whether the clipping is enabled or not.<br>
|
|
-- return Whether the clipping is enabled or not. Default is true.
|
|
-- @function [parent=#ClippingRectangleNode] isClippingEnabled
|
|
-- @param self
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
--------------------------------
|
|
-- brief Enable/Disable the clipping.<br>
|
|
-- param Pass true to enable clipping. Pass false to disable clipping.
|
|
-- @function [parent=#ClippingRectangleNode] setClippingEnabled
|
|
-- @param self
|
|
-- @param #bool enabled
|
|
-- @return ClippingRectangleNode#ClippingRectangleNode self (return value: cc.ClippingRectangleNode)
|
|
|
|
--------------------------------
|
|
-- brief Get the clipping rectangle.<br>
|
|
-- return The clipping rectangle.
|
|
-- @function [parent=#ClippingRectangleNode] getClippingRegion
|
|
-- @param self
|
|
-- @return rect_table#rect_table ret (return value: rect_table)
|
|
|
|
--------------------------------
|
|
-- brief Set the clipping rectangle.<br>
|
|
-- param Specify the clipping rectangle.
|
|
-- @function [parent=#ClippingRectangleNode] setClippingRegion
|
|
-- @param self
|
|
-- @param #rect_table clippingRegion
|
|
-- @return ClippingRectangleNode#ClippingRectangleNode self (return value: cc.ClippingRectangleNode)
|
|
|
|
--------------------------------
|
|
-- @overload self
|
|
-- @overload self, rect_table
|
|
-- @function [parent=#ClippingRectangleNode] create
|
|
-- @param self
|
|
-- @param #rect_table clippingRegion
|
|
-- @return ClippingRectangleNode#ClippingRectangleNode ret (return value: cc.ClippingRectangleNode)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#ClippingRectangleNode] visit
|
|
-- @param self
|
|
-- @param #cc.Renderer renderer
|
|
-- @param #mat4_table parentTransform
|
|
-- @param #unsigned int parentFlags
|
|
-- @return ClippingRectangleNode#ClippingRectangleNode self (return value: cc.ClippingRectangleNode)
|
|
|
|
return nil
|