class

Godot::AnimatedSprite2D

Inherits Godot::Node2D < Godot::CanvasItem < Godot::Node < Godot::Object < Reference < Object

Constructors

new(pointer : Pointer(Void) = Pointer(Void).null)
Source

Instance methods

animation

Property animation getter

Source
animation=(val)

Property animation setter

Source
autoplay

Property autoplay getter

Source
autoplay=(val)

Property autoplay setter

Source
centered

Property centered getter

Source
centered=(val)

Property centered setter

Source
centered?
Source
flip_h

Property flip_h getter

Source
flip_h=(val)

Property flip_h setter

Source
flip_h?
Source
flip_v

Property flip_v getter

Source
flip_v=(val)

Property flip_v setter

Source
flip_v?
Source
frame

Property frame getter

Source
frame=(val : Int)

Property frame setter

Source
frame_progress

Property frame_progress getter

Source
frame_progress=(val : Number)

Property frame_progress setter

Source
get_animation
Source
get_autoplay
Source
get_frame
Source
get_frame_progress
Source
get_offset
Source
get_playing_speed
Source
get_speed_scale
Source
get_sprite_frames
Source
is_centered
Source
is_flipped_h
Source
is_flipped_v
Source
is_playing
Source
offset

Property offset getter

Source
offset=(val)

Property offset setter

Source
pause
Source
play(name : String, custom_speed : Float64, from_end : Bool) : Void
Source
play_backwards(name : String) : Void
Source
set_animation(name : String) : Void
Source
set_autoplay(name : String) : Void
Source
set_centered(centered : Bool) : Void
Source
set_flip_h(flip_h : Bool) : Void
Source
set_flip_v(flip_v : Bool) : Void
Source
set_frame(frame : Int64) : Void
Source
set_frame_and_progress(frame : Int64, progress : Float64) : Void
Source
set_frame_progress(progress : Float64) : Void
Source
set_offset(offset : Vector2) : Void
Source
set_speed_scale(speed_scale : Float64) : Void
Source
set_sprite_frames(sprite_frames : SpriteFrames) : Void
Source
speed_scale

Property speed_scale getter

Source
speed_scale=(val : Number)

Property speed_scale setter

Source
sprite_frames

Property sprite_frames getter

Source
sprite_frames=(val)

Property sprite_frames setter

Source
stop
Source