From 1f609b7a8221f623ae0c051cbaf44f955c8d97bb Mon Sep 17 00:00:00 2001 From: MrCdK Date: Sat, 23 Dec 2017 05:08:50 +0100 Subject: Set particles emitting to false when particles finish emitting with one-shot enabled --- servers/visual/rasterizer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'servers/visual/rasterizer.h') diff --git a/servers/visual/rasterizer.h b/servers/visual/rasterizer.h index c5c225a40a..667a0f5742 100644 --- a/servers/visual/rasterizer.h +++ b/servers/visual/rasterizer.h @@ -473,6 +473,8 @@ public: virtual RID particles_create() = 0; virtual void particles_set_emitting(RID p_particles, bool p_emitting) = 0; + virtual bool particles_get_emitting(RID p_particles) = 0; + virtual void particles_set_amount(RID p_particles, int p_amount) = 0; virtual void particles_set_lifetime(RID p_particles, float p_lifetime) = 0; virtual void particles_set_one_shot(RID p_particles, bool p_one_shot) = 0; -- cgit v1.2.3