diff options
author | Tomasz Chabora <kobewi4e@gmail.com> | 2019-03-04 23:45:53 +0100 |
---|---|---|
committer | Tomasz Chabora <kobewi4e@gmail.com> | 2019-06-26 20:37:39 +0200 |
commit | 00b15c19b7adcad21465f731f76e1888f1553da2 (patch) | |
tree | e13ea9e1c7a587e35c7837c151a2f8ff68ad168c /scene/3d/cpu_particles.h | |
parent | 4599e98341325fed331de0bee81c5f7a9c02ebc8 (diff) | |
download | redot-engine-00b15c19b7adcad21465f731f76e1888f1553da2.tar.gz |
Add a Direction property to ParticlesMaterial
Diffstat (limited to 'scene/3d/cpu_particles.h')
-rw-r--r-- | scene/3d/cpu_particles.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/3d/cpu_particles.h b/scene/3d/cpu_particles.h index b50befe7be..05a9d7abe8 100644 --- a/scene/3d/cpu_particles.h +++ b/scene/3d/cpu_particles.h @@ -149,6 +149,7 @@ private: //////// + Vector3 direction; float spread; float flatness; @@ -226,6 +227,9 @@ public: /////////////////// + void set_direction(Vector3 p_direction); + Vector3 get_direction() const; + void set_spread(float p_spread); float get_spread() const; |