Specifies whether enable the module.
Specifies whether enable the module.
The total number of sub-emitters.
Get the particle system.
Protected
_onProtected
_onProtected
_serializeAdd a new sub-emitter.
The sub-emitter to add.
The event that creates new particles.
The properties of the new particles.
Optional
emitProbability: number = 1.0The probability that the sub-emitter emits particles. Accepts values from 0 to 1, where 0 is never and 1 is always.
Gets the properties of the sub - emitter at the given index.
The index of the sub-emitter.
Gets the sub - emitter Particle System at the given index.
The index of the desired sub-emitter.
Gets the type of the sub - emitter at the given index.
The index of the desired sub-emitter.
Sets the properties of the sub - emitter at the given index.
The index of the sub-emitter you want to modify.
The new properties to assign to this sub-emitter.
Sets the Particle System to use as the sub-emitter at the given index.
The index of the sub-emitter you want to modify.
The Particle System to use as the sub-emitter at the specified index.
Sets the type of the sub - emitter at the given index.
The index of the sub-emitter you want to modify.
The new spawning type to assign to this sub-emitter.
SubEmitter module
Export
SubEmittersModule
Date
2024.4.12
Author
yisky