class

Godot::AnimatedTexture

Inherits Godot::Texture2D < Godot::Texture < Godot::Resource < Godot::RefCounted < Godot::Object < Reference < Object

Constructors

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

Instance methods

current_frame

Property current_frame getter

Source
current_frame=(val : Int)

Property current_frame setter

Source
frames

Property frames getter

Source
frames=(val : Int)

Property frames setter

Source
get_current_frame
Source
get_frame_duration(frame : Int64) : Float64
Source
get_frame_texture(frame : Int64) : Texture2D
Source
get_frames
Source
get_one_shot
Source
get_pause
Source
get_speed_scale
Source
one_shot

Property one_shot getter

Source
one_shot=(val)

Property one_shot setter

Source
one_shot?
Source
pause

Property pause getter

Source
pause=(val)

Property pause setter

Source
pause?
Source
set_current_frame(frame : Int64) : Void
Source
set_frame_duration(frame : Int64, duration : Float64) : Void
Source
set_frame_texture(frame : Int64, texture : Texture2D) : Void
Source
set_frames(frames : Int64) : Void
Source
set_one_shot(one_shot : Bool) : Void
Source
set_pause(pause : Bool) : Void
Source
set_speed_scale(scale : Float64) : Void
Source
speed_scale

Property speed_scale getter

Source
speed_scale=(val : Number)

Property speed_scale setter

Source