diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/CanvasLayer.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/classes/CanvasLayer.xml b/doc/classes/CanvasLayer.xml index ead23076fc..ff2c3a8855 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"> |