forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 20
class_spriteframes
reduz edited this page Feb 23, 2014
·
9 revisions
####Inherits: Resource ####Category: Core
Sprite frame library for AnimatedSprite.
- void add_frame ( Object frame, int atpos=-1 )
- int get_frame_count ( ) const
- Object get_frame ( int idx ) const
- void set_frame ( int idx, Object txt )
- void remove_frame ( int idx )
- void clear ( )
Sprite frame library for AnimatedSprite.
Add a frame (texture).
- int get_frame_count ( ) const
Return the amount of frames.
Return a texture (frame).
- void remove_frame ( int idx )
Remove a frame
- void clear ( )
Clear the frames.