SpriteBase3D¶
Inherits: GeometryInstance < VisualInstance < Spatial < Node < Object
Inherited By: AnimatedSprite3D, Sprite3D
Category: Core
Brief Description¶
Member Functions¶
int | get_alpha_cut_mode ( ) const |
int | get_axis ( ) const |
bool | get_draw_flag ( int flag ) const |
Rect2 | get_item_rect ( ) const |
Color | get_modulate ( ) const |
Vector2 | get_offset ( ) const |
float | get_opacity ( ) const |
float | get_pixel_size ( ) const |
bool | is_centered ( ) const |
bool | is_flipped_h ( ) const |
bool | is_flipped_v ( ) const |
void | set_alpha_cut_mode ( int mode ) |
void | set_axis ( int axis ) |
void | set_centered ( bool centered ) |
void | set_draw_flag ( int flag, bool enabled ) |
void | set_flip_h ( bool flip_h ) |
void | set_flip_v ( bool flip_v ) |
void | set_modulate ( Color modulate ) |
void | set_offset ( Vector2 offset ) |
void | set_opacity ( float opacity ) |
void | set_pixel_size ( float pixel_size ) |
Member Variables¶
Numeric Constants¶
- FLAG_TRANSPARENT = 0
- FLAG_SHADED = 1
- FLAG_DOUBLE_SIDED = 2
- FLAG_ONTOP = 3
- FLAG_MAX = 4
- ALPHA_CUT_DISABLED = 0
- ALPHA_CUT_DISCARD = 1
- ALPHA_CUT_OPAQUE_PREPASS = 2
Member Function Description¶
- int get_alpha_cut_mode ( ) const
- int get_axis ( ) const
- Rect2 get_item_rect ( ) const
- Color get_modulate ( ) const
- Vector2 get_offset ( ) const
- float get_opacity ( ) const
- float get_pixel_size ( ) const
- bool is_centered ( ) const
- bool is_flipped_h ( ) const
- bool is_flipped_v ( ) const
- void set_alpha_cut_mode ( int mode )
- void set_axis ( int axis )
- void set_centered ( bool centered )
- void set_flip_h ( bool flip_h )
- void set_flip_v ( bool flip_v )
- void set_modulate ( Color modulate )
- void set_offset ( Vector2 offset )
- void set_opacity ( float opacity )
- void set_pixel_size ( float pixel_size )