diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-09-12 12:15:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-12 12:15:58 +0200 |
commit | 97830e7187d5785897141b28839af1282ce42940 (patch) | |
tree | b1f3a2a3db9f1d8a21fe7b645c872adc318c505c /doc/classes | |
parent | 7535c6c1636d37a76d79361092887f7dd13283df (diff) | |
parent | b648ee43ab0798c13d9d97559e9af565c76e024b (diff) |
Merge pull request #64155 from Mickeon/sprite-3d-backwards-speed-scale
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/AnimatedSprite3D.xml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/classes/AnimatedSprite3D.xml b/doc/classes/AnimatedSprite3D.xml index 0bc5484e3a..58d3ca6ad3 100644 --- a/doc/classes/AnimatedSprite3D.xml +++ b/doc/classes/AnimatedSprite3D.xml @@ -13,8 +13,9 @@ <method name="play"> <return type="void" /> <param index="0" name="anim" type="StringName" default="&""" /> + <param index="1" name="backwards" type="bool" default="false" /> <description> - Plays the animation named [param anim]. If no [param anim] is provided, the current animation is played. + Plays the animation named [param anim]. If no [param anim] is provided, the current animation is played. If [param backwards] is [code]true[/code], the animation will be played in reverse. </description> </method> <method name="stop"> @@ -37,6 +38,9 @@ <member name="playing" type="bool" setter="set_playing" getter="is_playing" default="false"> If [code]true[/code], the [member animation] is currently playing. </member> + <member name="speed_scale" type="float" setter="set_speed_scale" getter="get_speed_scale" default="1.0"> + The animation speed is multiplied by this value. + </member> </members> <signals> <signal name="animation_finished"> |