summaryrefslogtreecommitdiff
path: root/doc/classes/CanvasLayer.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/CanvasLayer.xml')
-rw-r--r--doc/classes/CanvasLayer.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/classes/CanvasLayer.xml b/doc/classes/CanvasLayer.xml
index 86b788bb44..01c2dd6ba9 100644
--- a/doc/classes/CanvasLayer.xml
+++ b/doc/classes/CanvasLayer.xml
@@ -15,6 +15,7 @@
<return type="Node">
</return>
<description>
+ Returns the [Viewport] used by the camera if it is not using the default viewport.
</description>
</method>
<method name="get_rotation" qualifiers="const">
@@ -44,6 +45,7 @@
<argument index="0" name="viewport" type="Node">
</argument>
<description>
+ Assigns a custom [Viewport] node to the [code]CanvasLayer[/code]. If [code]viewport[/code] is not a [Viewport], it re-assigns the default viewport instead.
</description>
</method>
<method name="set_rotation">