Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UParticleModuleSpawnBase
Description
Retrieve the burst count this module is contributing. Note that if multiple Spawn-specific modules are present, if any one of them ignores the default BurstList, it will be ignored.
| Name | GetBurstCount |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Particles/Spawn/ParticleModuleSpawnBase.h |
| Include Path | #include "Particles/Spawn/ParticleModuleSpawnBase.h" |
virtual bool GetBurstCount
(
FParticleEmitterInstance * Owner,
int32 Offset,
float OldLeftover,
float DeltaTime,
int32 & Number
)
bool false if the default BurstList should be ignored. true if the default BurstList should still be processed.
Parameters
| Name | Remarks |
|---|---|
| Owner | The particle emitter instance that is spawning. |
| Offset | The offset into the particle payload for the module. |
| OldLeftover | The bit of timeslice left over from the previous frame. |
| DeltaTime | The time that has expired since the last frame. |
| Number | The number of particles to burst. (OUTPUT) |