mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Add offset for TextureProgress progress texture
(cherry picked from commit e78ee616f7)
This commit is contained in:
parent
e7dac5da41
commit
44a56c9742
3 changed files with 47 additions and 17 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue