summaryrefslogtreecommitdiff
path: root/scene/2d/particles_2d.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/2d/particles_2d.h')
-rw-r--r--scene/2d/particles_2d.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/scene/2d/particles_2d.h b/scene/2d/particles_2d.h
index 8849149127..f562e826e0 100644
--- a/scene/2d/particles_2d.h
+++ b/scene/2d/particles_2d.h
@@ -143,6 +143,8 @@ private:
float emit_timeout;
float time_to_live;
float time_scale;
+ bool flip_h;
+ bool flip_v;
Point2 emissor_offset;
Vector2 initial_velocity;
Vector2 extents;
@@ -197,6 +199,12 @@ public:
void set_explosiveness(float p_value);
float get_explosiveness() const;
+ void set_flip_h(bool p_flip);
+ bool is_flipped_h() const;
+
+ void set_flip_v(bool p_flip);
+ bool is_flipped_v() const;
+
void set_color_phases(int p_phases);
int get_color_phases() const;