diff options
Diffstat (limited to 'servers/rendering_server.h')
-rw-r--r-- | servers/rendering_server.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/servers/rendering_server.h b/servers/rendering_server.h index ad965e9690..0c1a010f73 100644 --- a/servers/rendering_server.h +++ b/servers/rendering_server.h @@ -618,6 +618,12 @@ public: virtual RID particles_create() = 0; + enum ParticlesMode { + PARTICLES_MODE_2D, + PARTICLES_MODE_3D + }; + virtual void particles_set_mode(RID p_particles, ParticlesMode p_mode) = 0; + virtual void particles_set_emitting(RID p_particles, bool p_enable) = 0; virtual bool particles_get_emitting(RID p_particles) = 0; virtual void particles_set_amount(RID p_particles, int p_amount) = 0; |