diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2016-08-30 16:52:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-30 16:52:55 +0200 |
commit | 9a35ed5d5487628a9901682eafcf0bbed100bc8a (patch) | |
tree | d0b92fe4e5431565c2162c9701479693ad4f7722 /doc | |
parent | 41ee85b6a0dd9e0ee6960688a63ad8036a2a0497 (diff) | |
parent | d691cb473254fb1058863f810c11bc2a67878ff1 (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.xml | 8 |
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> |