summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorWagner Scholl Lemos <josephblt@gmail.com>2022-02-15 10:25:18 -0300
committerWagner Scholl Lemos <josephblt@gmail.com>2022-02-15 11:37:41 -0300
commit160ee4ef8ef804eca5429a98a9359275e096287f (patch)
tree37a5026d2f6e9607b3b18a71b780819a24a3bea1 /doc
parentfdeed6ea061891838cf9b464570141bbf28fc4a0 (diff)
Added show and hide methods and updated doc API.
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/CanvasLayer.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/classes/CanvasLayer.xml b/doc/classes/CanvasLayer.xml
index 614bd558e8..6ab038eb68 100644
--- a/doc/classes/CanvasLayer.xml
+++ b/doc/classes/CanvasLayer.xml
@@ -18,6 +18,18 @@
Returns the RID of the canvas used by this layer.
</description>
</method>
+ <method name="hide">
+ <return type="void" />
+ <description>
+ Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to setting [member visible] to [code]false[/code].
+ </description>
+ </method>
+ <method name="show">
+ <return type="void" />
+ <description>
+ Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to setting [member visible] to [code]true[/code].
+ </description>
+ </method>
</methods>
<members>
<member name="custom_viewport" type="Node" setter="set_custom_viewport" getter="get_custom_viewport">