summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2016-08-30 16:52:55 +0200
committerGitHub <noreply@github.com>2016-08-30 16:52:55 +0200
commit9a35ed5d5487628a9901682eafcf0bbed100bc8a (patch)
treed0b92fe4e5431565c2162c9701479693ad4f7722 /doc
parent41ee85b6a0dd9e0ee6960688a63ad8036a2a0497 (diff)
parentd691cb473254fb1058863f810c11bc2a67878ff1 (diff)
Merge pull request #5670 from timoschwarzer/feature/camera2d_limit_smoothing
Add an option to smooth camera limits when camera smoothing is enabled.
Diffstat (limited to 'doc')
-rw-r--r--doc/base/classes.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index 144ac007c0..27c8958643 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -6888,6 +6888,14 @@
Set the scrolling limit in pixels.
</description>
</method>
+ <method name="set_limit_smoothing_enabled">
+ <argument index="0" name="enable" type="bool">
+ </argument>
+ <description>
+ Smooth camera when reaching camera limits.
+ This requires camera smoothing being enabled to have a noticeable effect.
+ </description>
+ </method>
<method name="set_offset">
<argument index="0" name="offset" type="Vector2">
</argument>