# Emitter module

# Overview

Emitter (emitter module) is used to set the properties related to particle emission, such as the emission interval time, the duration of the particle system, whether the emission is cyclic, etc.

image.png

# Property description

Property Function Type
duration The duration of the particle system's operation. number
looping If checked, it means that the particle system will continue to run from the beginning after the particle system has finished running. boolean
playOnAwake If checked, it means that the particle system will be executed immediately after loading. boolean
maxParticles The maximum number of particles during a run of the particle system. If the maximum number is exceeded, new particles will not be emitted. number
rateOverTime The number of particles emitted per second. engine.Particle.AdvancedProperty.ConstantProperty
engine.Particle.AdvancedProperty.TwoConstantsProperty
engine.Particle.AdvancedProperty.CurveProperty
engine.Particle.AdvancedProperty.TwoCurvesProperty
startDelay The time (in seconds) to delay the emission of particles after the particle system starts running. engine.Particle.AdvancedProperty.ConstantProperty
engine.Particle.AdvancedProperty.TwoConstantsProperty
engine.Particle.AdvancedProperty.CurveProperty
engine.Particle.AdvancedProperty.TwoCurvesProperty
bursts A certain number of particles are emitted at a certain point in time. engine.Particle.ParticleEmitter.ParticleEmitterBurst[]
- time The time of trigger. number
- count The number of shots. engine.Particle.AdvancedProperty.ConstantProperty
- cycles The number of triggers. number
- interval The time interval of each trigger, must be greater than 0. number
- probability The probability of triggering. number
点击咨询小助手