summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2018-10-30 21:53:00 +0100
committerPedro J. Estébanez <pedrojrulez@gmail.com>2018-10-30 21:53:00 +0100
commitcf8976de415573ed170c60fafa997725916bff55 (patch)
tree068ae7d3dfbae793458ab001b45a5097a6cd22f4 /doc
parentaeddb30fa38215acf8620238209cb53f5bddc28d (diff)
Fix canvas stacking not deterministic on same layer
Fixes #22687.
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/VisualServer.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/classes/VisualServer.xml b/doc/classes/VisualServer.xml
index 225a1f2bba..ed6fdacec7 100644
--- a/doc/classes/VisualServer.xml
+++ b/doc/classes/VisualServer.xml
@@ -3613,7 +3613,7 @@
If [code]true[/code] sets the viewport active, else sets it inactive.
</description>
</method>
- <method name="viewport_set_canvas_layer">
+ <method name="viewport_set_canvas_stacking">
<return type="void">
</return>
<argument index="0" name="viewport" type="RID">
@@ -3622,8 +3622,11 @@
</argument>
<argument index="2" name="layer" type="int">
</argument>
+ <argument index="3" name="sublayer" type="int">
+ </argument>
<description>
- Sets the renderlayer for a viewport's canvas.
+ Sets the stacking order for a viewport's canvas.
+ [code]layer[/code] is the actual canvas layer, while [code]sublayer[/code] specifies the stacking order of the canvas among those in the same layer.
</description>
</method>
<method name="viewport_set_canvas_transform">