summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHakim <hakim.rouatbi@gmail.com>2022-08-05 15:30:17 +0200
committerHakim <hakim.rouatbi@gmail.com>2022-08-05 16:04:51 +0200
commit60677c4e95d40117efcbac85f2adaac31dd4fda3 (patch)
treefe846d582709648b6ccf2ca6369c0536bb9c3195 /doc
parentf5a89bf460a8250ca6b0a1a5fdba4bcb70df91cf (diff)
Remove rect_ prefix from control properties when keyframing
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/Camera3D.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Camera3D.xml b/doc/classes/Camera3D.xml
index 5595abc02a..643351efc0 100644
--- a/doc/classes/Camera3D.xml
+++ b/doc/classes/Camera3D.xml
@@ -144,7 +144,7 @@
# This code block is part of a script that inherits from Node3D.
# `control` is a reference to a node inheriting from Control.
control.visible = not get_viewport().get_camera_3d().is_position_behind(global_transform.origin)
- control.rect_position = get_viewport().get_camera_3d().unproject_position(global_transform.origin)
+ control.position = get_viewport().get_camera_3d().unproject_position(global_transform.origin)
[/codeblock]
</description>
</method>