TextureProgress
Inherits: Range < Control < CanvasItem < Node < Object
Category: Core
Brief Description
Textured progress bar implementation.
Member Functions
float | get_fill_degrees ( ) |
int | get_fill_mode ( ) |
Object | get_over_texture ( ) const |
Object | get_progress_texture ( ) const |
Vector2 | get_radial_center_offset ( ) |
float | get_radial_initial_angle ( ) |
Object | get_under_texture ( ) const |
void | set_fill_degrees ( float mode ) |
void | set_fill_mode ( int mode ) |
void | set_over_texture ( Object tex ) |
void | set_progress_texture ( Object tex ) |
void | set_radial_center_offset ( Vector2 mode ) |
void | set_radial_initial_angle ( float mode ) |
void | set_under_texture ( Object tex ) |
Numeric Constants
- FILL_LEFT_TO_RIGHT = 0
- FILL_RIGHT_TO_LEFT = 1
- FILL_TOP_TO_BOTTOM = 2
- FILL_BOTTOM_TO_TOP = 3
- FILL_CLOCKWISE = 4
- FILL_COUNTER_CLOCKWISE = 5
Description
ProgressBar implementation that is easier to theme (by just passing a few textures).
Member Function Description
float get_fill_degrees ( )
int get_fill_mode ( )
Object get_over_texture ( ) const
Object get_progress_texture ( ) const
Vector2 get_radial_center_offset ( )
float get_radial_initial_angle ( )
Object get_under_texture ( ) const
void set_fill_degrees ( float mode )
void set_fill_mode ( int mode )
void set_over_texture ( Object tex )
void set_progress_texture ( Object tex )
void set_radial_center_offset ( Vector2 mode )
void set_radial_initial_angle ( float mode )
void set_under_texture ( Object tex )
© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/2.1/classes/class_textureprogress.html