summaryrefslogtreecommitdiff
path: root/doc/base
diff options
context:
space:
mode:
authorTimo Schwarzer <me@timoschwarzer.com>2016-07-13 11:48:50 +0200
committerTimo Schwarzer <me@timoschwarzer.com>2016-07-13 11:48:50 +0200
commitd691cb473254fb1058863f810c11bc2a67878ff1 (patch)
tree48607299e5888917271437fc5af52a6345a944b0 /doc/base
parent5545afd52b912722bbdb6e412cce9593857c5726 (diff)
Add an option to smooth camera limits when camera smoothing is enabled.
Diffstat (limited to 'doc/base')
-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 ae5438c430..0747042f15 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -6839,6 +6839,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>