Sprite3D¶
Inherits: SpriteBase3D < GeometryInstance < VisualInstance < Spatial < Node < Object
Category: Core
Brief Description¶
Member Functions¶
get_frame ( ) const |
|
get_hframes ( ) const |
|
get_region_rect ( ) const |
|
get_texture ( ) const |
|
get_vframes ( ) const |
|
is_region ( ) const |
|
void |
|
void |
set_hframes ( int hframes ) |
void |
set_region ( bool enabled ) |
void |
set_region_rect ( Rect2 rect ) |
void |
set_texture ( Texture texture ) |
void |
set_vframes ( int vframes ) |
Signals¶
frame_changed ( )
Member Function Description¶
int get_frame ( ) const
int get_hframes ( ) const
Rect2 get_region_rect ( ) const
Texture get_texture ( ) const
int get_vframes ( ) const
bool is_region ( ) const
void set_frame ( int frame )
void set_hframes ( int hframes )
void set_region ( bool enabled )
void set_region_rect ( Rect2 rect )
void set_texture ( Texture texture )
void set_vframes ( int vframes )