diff options
author | Noshyaar <poommetee@protonmail.com> | 2017-12-27 10:45:36 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-27 10:45:36 +0700 |
commit | 5c636875e418fbf055ddcff8d682639d1f096d05 (patch) | |
tree | 7ce8cd1abb9d510eba6fa5e82a7759ebbc0a990a /servers/visual/rasterizer.h | |
parent | e6b6683694f6fbda35cad90feff712f9ad846767 (diff) | |
parent | 1f609b7a8221f623ae0c051cbaf44f955c8d97bb (diff) |
Merge pull request #14971 from mrcdk/particles_emitting
Set particles emitting to false when particles finish emitting with one-shot enabled
Diffstat (limited to 'servers/visual/rasterizer.h')
-rw-r--r-- | servers/visual/rasterizer.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; |