SpriteFrames
Inherits: Resource < RefCounted < Object
There is currently no description for this class. Please help us by contributing one!
Methods
void |
add_animation ( StringName anim ) |
void |
add_frame ( StringName anim, Texture2D texture, float duration=1.0, int at_position=-1 ) |
void |
clear ( StringName anim ) |
void |
clear_all ( ) |
get_animation_loop ( StringName anim ) const |
|
get_animation_names ( ) const |
|
get_animation_speed ( StringName anim ) const |
|
get_frame_count ( StringName anim ) const |
|
get_frame_duration ( StringName anim, int idx ) const |
|
get_frame_texture ( StringName anim, int idx ) const |
|
has_animation ( StringName anim ) const |
|
void |
remove_animation ( StringName anim ) |
void |
remove_frame ( StringName anim, int idx ) |
void |
rename_animation ( StringName anim, StringName newname ) |
void |
set_animation_loop ( StringName anim, bool loop ) |
void |
set_animation_speed ( StringName anim, float fps ) |
void |
set_frame ( StringName anim, int idx, Texture2D texture, float duration=1.0 ) |
Method Descriptions
void add_animation ( StringName anim )
There is currently no description for this method. Please help us by contributing one!
void add_frame ( StringName anim, Texture2D texture, float duration=1.0, int at_position=-1 )
There is currently no description for this method. Please help us by contributing one!
void clear ( StringName anim )
There is currently no description for this method. Please help us by contributing one!
void clear_all ( )
There is currently no description for this method. Please help us by contributing one!
bool get_animation_loop ( StringName anim ) const
There is currently no description for this method. Please help us by contributing one!
PackedStringArray get_animation_names ( ) const
There is currently no description for this method. Please help us by contributing one!
float get_animation_speed ( StringName anim ) const
There is currently no description for this method. Please help us by contributing one!
int get_frame_count ( StringName anim ) const
There is currently no description for this method. Please help us by contributing one!
float get_frame_duration ( StringName anim, int idx ) const
There is currently no description for this method. Please help us by contributing one!
Texture2D get_frame_texture ( StringName anim, int idx ) const
There is currently no description for this method. Please help us by contributing one!
bool has_animation ( StringName anim ) const
There is currently no description for this method. Please help us by contributing one!
void remove_animation ( StringName anim )
There is currently no description for this method. Please help us by contributing one!
void remove_frame ( StringName anim, int idx )
There is currently no description for this method. Please help us by contributing one!
void rename_animation ( StringName anim, StringName newname )
There is currently no description for this method. Please help us by contributing one!
void set_animation_loop ( StringName anim, bool loop )
There is currently no description for this method. Please help us by contributing one!
void set_animation_speed ( StringName anim, float fps )
There is currently no description for this method. Please help us by contributing one!
void set_frame ( StringName anim, int idx, Texture2D texture, float duration=1.0 )
There is currently no description for this method. Please help us by contributing one!