summaryrefslogtreecommitdiff
path: root/scene/3d/cpu_particles.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-07-02 11:33:34 +0200
committerGitHub <noreply@github.com>2019-07-02 11:33:34 +0200
commitc08877777d0be8ea1c52578520d77064c5ddabd6 (patch)
tree3bc61a0cc3dea8bf322016c0f9a201a19c623b01 /scene/3d/cpu_particles.h
parent98879be2766de1ec54bb3478e09538289ca66370 (diff)
parent00b15c19b7adcad21465f731f76e1888f1553da2 (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.h4
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;