summaryrefslogtreecommitdiff
path: root/doc/classes/Camera2D.xml
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-07-01 08:14:21 +0200
committerGitHub <noreply@github.com>2021-07-01 08:14:21 +0200
commit8a4cb96856ab786e7a70394c003b0fac2da1b287 (patch)
treeb7c7e1c5bb175a59829528d57f3d80cf606862ae /doc/classes/Camera2D.xml
parent5710adda72a08f81c4df00147f560eebacf3b473 (diff)
parent525ad7c37ee146658e948cffbc2cea1e9071fca2 (diff)
Merge pull request #49409 from ekumlin/issue-32596
Enable Camera2D smoothing on limit change
Diffstat (limited to 'doc/classes/Camera2D.xml')
-rw-r--r--doc/classes/Camera2D.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/classes/Camera2D.xml b/doc/classes/Camera2D.xml
index bf1a9cc929..4620b3d93c 100644
--- a/doc/classes/Camera2D.xml
+++ b/doc/classes/Camera2D.xml
@@ -161,6 +161,8 @@
</member>
<member name="limit_smoothed" type="bool" setter="set_limit_smoothing_enabled" getter="is_limit_smoothing_enabled" default="false">
If [code]true[/code], the camera smoothly stops when reaches its limits.
+ This has no effect if smoothing is disabled.
+ [b]Note:[/b] To immediately update the camera's position to be within limits without smoothing, even with this setting enabled, invoke [method reset_smoothing].
</member>
<member name="limit_top" type="int" setter="set_limit" getter="get_limit" default="-10000000">
Top scroll limit in pixels. The camera stops moving when reaching this value.