1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-12 13:20:55 +00:00

Add offset for TextureProgress progress texture

(cherry picked from commit e78ee616f7)
This commit is contained in:
kobewi
2021-03-09 22:24:02 +01:00
committed by Rémi Verschelde
parent e7dac5da41
commit 44a56c9742
3 changed files with 47 additions and 17 deletions

View File

@@ -61,6 +61,9 @@ public:
void set_fill_mode(int p_fill);
int get_fill_mode();
void set_progress_offset(Point2 p_offset);
Point2 get_progress_offset() const;
void set_radial_initial_angle(float p_angle);
float get_radial_initial_angle();
@@ -100,6 +103,7 @@ public:
private:
FillMode mode;
Point2 progress_offset;
float rad_init_angle;
float rad_max_degrees;
Point2 rad_center_off;