diff --git a/doc/classes/AnimatedSprite.xml b/doc/classes/AnimatedSprite.xml index f8663e90e0a..809890bea1d 100644 --- a/doc/classes/AnimatedSprite.xml +++ b/doc/classes/AnimatedSprite.xml @@ -4,7 +4,7 @@ Sprite node that can use multiple textures for animation. - Sprite node that can use multiple textures for animation. + Sprite node that can use multiple textures for animation. Animations are created using a [SpriteFrames] resource, which can be configured in the editor via the SpriteFrames panel. @@ -149,31 +149,39 @@ + The current animation from the [code]frames[/code] resource. If this value is changed, the [code]frame[/code] counter is reset. + If [code]true[/code] texture will be centered. Default value: [code]true[/code]. + If [code]true[/code] texture is flipped horizontally. Default value: [code]false[/code]. + If [code]true[/code] texture is flipped vertically. Default value: [code]false[/code]. + The current frame index. + The [SpriteFrames] resource containing the animation(s). + The texture's drawing offset. + If [code]true[/code] the [code]animation[/code] is currently playing. - Emitted when the animation is finished (when it plays the last frame). If the animation is looping, this signal is emitted every time the last frame is drawn, before looping. + Emitted when the animation is finished (when it plays the last frame). If the animation is looping, this signal is emitted every time the last frame is drawn. - Emitted when frame is changed. + Emitted when [code]frame[/code] changes.