Godot::SpriteFrames
Inherits Godot::Resource < Godot::RefCounted < Godot::Object < Reference < Object
Constructors
new(pointer : Pointer(Void) = Pointer(Void).null)
SourceInstance methods
add_animation(anim : String) : Void
Sourceadd_frame(anim : String, texture : Texture2D, duration : Float64, at_position : Int64) : Void
Sourceclear(anim : String) : Void
Sourceclear_all
Sourceduplicate_animation(anim_from : String, anim_to : String) : Void
Sourceget_animation_loop(anim : String) : Bool
Sourceget_animation_loop_mode(anim : String) : Int64
Sourceget_animation_names
Sourceget_animation_speed(anim : String) : Float64
Sourceget_frame_count(anim : String) : Int64
Sourceget_frame_duration(anim : String, idx : Int64) : Float64
Sourceget_frame_texture(anim : String, idx : Int64) : Texture2D
Sourcehas_animation(anim : String) : Bool
Sourceremove_animation(anim : String) : Void
Sourceremove_frame(anim : String, idx : Int64) : Void
Sourcerename_animation(anim : String, newname : String) : Void
Sourceset_animation_loop(anim : String, loop : Bool) : Void
Sourceset_animation_loop_mode(anim : String, loop_mode : Int64) : Void
Sourceset_animation_speed(anim : String, fps : Float64) : Void
Sourceset_frame(anim : String, idx : Int64, texture : Texture2D, duration : Float64) : Void
Source