On this page
Sprite3D
Inherits: SpriteBase3D < GeometryInstance < VisualInstance < Spatial < Node < Object
Category: Core
Brief Description
Member Functions
| 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 ) | 
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 )
© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
 https://docs.godotengine.org/en/2.1/classes/class_sprite3d.html