diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-07-02 11:33:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-02 11:33:34 +0200 |
commit | c08877777d0be8ea1c52578520d77064c5ddabd6 (patch) | |
tree | 3bc61a0cc3dea8bf322016c0f9a201a19c623b01 /scene/3d/cpu_particles.h | |
parent | 98879be2766de1ec54bb3478e09538289ca66370 (diff) | |
parent | 00b15c19b7adcad21465f731f76e1888f1553da2 (diff) |
Merge pull request #26613 from KoBeWi/direction_of_particles
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 6566792def..517df8490d 100644 --- a/scene/3d/cpu_particles.h +++ b/scene/3d/cpu_particles.h @@ -152,6 +152,7 @@ private: //////// + Vector3 direction; float spread; float flatness; @@ -231,6 +232,9 @@ public: /////////////////// + void set_direction(Vector3 p_direction); + Vector3 get_direction() const; + void set_spread(float p_spread); float get_spread() const; |