diff options
| author | Timo Schwarzer | 2016-07-13 11:48:50 +0200 |
|---|---|---|
| committer | Timo Schwarzer | 2016-07-13 11:48:50 +0200 |
| commit | d691cb473254fb1058863f810c11bc2a67878ff1 (patch) | |
| tree | 48607299e5888917271437fc5af52a6345a944b0 /doc/base/classes.xml | |
| parent | 5545afd52b912722bbdb6e412cce9593857c5726 (diff) | |
| download | godot-d691cb473254fb1058863f810c11bc2a67878ff1.tar.gz godot-d691cb473254fb1058863f810c11bc2a67878ff1.tar.zst godot-d691cb473254fb1058863f810c11bc2a67878ff1.zip | |
Add an option to smooth camera limits when camera smoothing is enabled.
Diffstat (limited to 'doc/base/classes.xml')
| -rw-r--r-- | doc/base/classes.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml index ae5438c43..0747042f1 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> |
