summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorkleonc <9283098+kleonc@users.noreply.github.com>2024-08-18 19:36:08 +0200
committerkleonc <9283098+kleonc@users.noreply.github.com>2024-08-19 11:43:16 +0200
commit1bd8372813d8a329188c05e8cc8c0c66f60b1735 (patch)
tree9d50c42cbb4fcf1d0919e777e5707e7de08258e5 /doc
parent1bd740d18d714f815486b04bf4c6154ef6c355d9 (diff)
downloadredot-engine-1bd8372813d8a329188c05e8cc8c0c66f60b1735.tar.gz
Fix Parallax2D repeats being not relative to its transform
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/RenderingServer.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/classes/RenderingServer.xml b/doc/classes/RenderingServer.xml
index d86b82b72a..d95990d325 100644
--- a/doc/classes/RenderingServer.xml
+++ b/doc/classes/RenderingServer.xml
@@ -944,7 +944,8 @@
<param index="1" name="item" type="RID" />
<param index="2" name="mirroring" type="Vector2" />
<description>
- A copy of the canvas item will be drawn with a local offset of the mirroring [Vector2].
+ A copy of the canvas item will be drawn with a local offset of the [param mirroring].
+ [b]Note:[/b] This is equivalent to calling [method canvas_set_item_repeat] like [code]canvas_set_item_repeat(item, mirroring, 1)[/code], with an additional check ensuring [param canvas] is a parent of [param item].
</description>
</method>
<method name="canvas_set_item_repeat">