EmissionModule is the emission module of ParticleGeneratorModule
. This module is used to handle the emission behavior of the particle system, including particle emission rate, emission shape, and burst behavior.
Property | Description |
---|---|
rateOverTime | This is a ParticleCompositeCurve object, representing the particle emission rate. The default value is 10 . |
rateOverDistance | This is a ParticleCompositeCurve object, representing the particle distance emission rate. The default value is 0 . |
shape | This is a BaseShape object, representing the shape of the emitter. |
Method | Description |
---|---|
addBurst(burst: Burst) | Add a burst behavior |
removeBurst(burst: Burst) | Remove a burst behavior |
removeBurstByIndex(index: number) | Remove a burst behavior by index |
clearBurst() | Clear all burst behaviors |
Currently, the engine has the following built-in emitter shapes, providing corresponding shape auxiliary displays when the particle component is selected.
Emitter Shape Type | Description |
---|---|
BoxShape | BaseShape object, emitter shape is a cube |
CircleShape | BaseShape object, emitter shape is a circle |
ConeShape | BaseShape object, emitter shape is a cone |
HemisphereShape | BaseShape object, emitter shape is a hemisphere |
SphereShape | BaseShape object, emitter shape is a sphere |
It looks like you haven't pasted the Markdown content yet. Please provide the content you want translated, and I'll help you with the translation while adhering to the rules you've specified.