summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/cc.ClippingRectangleNode.lua
blob: b760b2d4c8b0c2cfc466bfbfcb78d4d905be84b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

---@class cc.ClippingRectangleNode :cc.Node
local ClippingRectangleNode={ }
cc.ClippingRectangleNode=ClippingRectangleNode




---* brief Get whether the clipping is enabled or not.<br>
---* return Whether the clipping is enabled or not. Default is true.
---@return boolean
function ClippingRectangleNode:isClippingEnabled () end
---* brief Enable/Disable the clipping.<br>
---* param enabled Pass true to enable clipping. Pass false to disable clipping.
---@param enabled boolean
---@return self
function ClippingRectangleNode:setClippingEnabled (enabled) end
---* brief Get the clipping rectangle.<br>
---* return The clipping rectangle.
---@return rect_table
function ClippingRectangleNode:getClippingRegion () end
---* brief Set the clipping rectangle.<br>
---* param clippingRegion Specify the clipping rectangle.
---@param clippingRegion rect_table
---@return self
function ClippingRectangleNode:setClippingRegion (clippingRegion) end
---@overload fun():self
---@overload fun(rect_table:rect_table):self
---@param clippingRegion rect_table
---@return self
function ClippingRectangleNode:create (clippingRegion) end
---* 
---@param renderer cc.Renderer
---@param parentTransform mat4_table
---@param parentFlags unsigned_int
---@return self
function ClippingRectangleNode:visit (renderer,parentTransform,parentFlags) end