You've already forked godot
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user