summaryrefslogtreecommitdiff
path: root/scene/2d/particles_2d.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-06-14 23:09:30 +0200
committerGitHub <noreply@github.com>2017-06-14 23:09:30 +0200
commit80de0c35df3aea7155c6e8026448896c3c749126 (patch)
treeec36576131315f3edbca3af66fcf5f5c7fb39074 /scene/2d/particles_2d.h
parentbccee07ae714b43df135199594899ed88389d7b4 (diff)
parent23c5fa86877ba90be8e6d4c06adc3dca18a8a784 (diff)
Merge pull request #9160 from karroffel/color-ramp-rename
renamed occurances of ColorRamp with Gradient
Diffstat (limited to 'scene/2d/particles_2d.h')
-rw-r--r--scene/2d/particles_2d.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/2d/particles_2d.h b/scene/2d/particles_2d.h
index 5769fdd251..856beaa836 100644
--- a/scene/2d/particles_2d.h
+++ b/scene/2d/particles_2d.h
@@ -169,7 +169,7 @@ private:
//If no color ramp is set then default color is used. Created as simple alternative to color_ramp.
Color default_color;
- Ref<Gradient> color_ramp;
+ Ref<Gradient> gradient;
void _process_particles(float p_delta);
friend class ParticleAttractor2D;
@@ -241,8 +241,8 @@ public:
void set_color(const Color &p_color);
Color get_color() const;
- void set_color_ramp(const Ref<Gradient> &p_texture);
- Ref<Gradient> get_color_ramp() const;
+ void set_gradient(const Ref<Gradient> &p_texture);
+ Ref<Gradient> get_gradient() const;
void set_emissor_offset(const Point2 &p_offset);
Point2 get_emissor_offset() const;