summaryrefslogtreecommitdiff
path: root/scene/3d/gpu_particles_3d.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-10-09 19:28:29 +0200
committerGitHub <noreply@github.com>2020-10-09 19:28:29 +0200
commitb724d3851a49b033a8bc24bc1c73a3aa29eb0390 (patch)
tree7d20274c657c5f154186b690c1c0a67ca0174a9f /scene/3d/gpu_particles_3d.h
parentc35005ba25473ea8fa48aadbd1687984c76457cf (diff)
parent26f5bd245c535fec5bfdd51a0f939d0a51179d85 (diff)
Merge pull request #42628 from reduz/particle-collisions
Implement GPU Particle Collisions
Diffstat (limited to 'scene/3d/gpu_particles_3d.h')
-rw-r--r--scene/3d/gpu_particles_3d.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/3d/gpu_particles_3d.h b/scene/3d/gpu_particles_3d.h
index 0d8dadd31d..b68acef21c 100644
--- a/scene/3d/gpu_particles_3d.h
+++ b/scene/3d/gpu_particles_3d.h
@@ -65,6 +65,7 @@ private:
int fixed_fps;
bool fractional_delta;
NodePath sub_emitter;
+ float collision_base_size;
Ref<Material> process_material;
@@ -94,6 +95,7 @@ public:
void set_use_local_coordinates(bool p_enable);
void set_process_material(const Ref<Material> &p_material);
void set_speed_scale(float p_scale);
+ void set_collision_base_size(float p_ratio);
bool is_emitting() const;
int get_amount() const;
@@ -106,6 +108,7 @@ public:
bool get_use_local_coordinates() const;
Ref<Material> get_process_material() const;
float get_speed_scale() const;
+ float get_collision_base_size() const;
void set_fixed_fps(int p_count);
int get_fixed_fps() const;