Navigation
API > API/Plugins > API/Plugins/Niagara
| Name | EParticleAllocationMode |
| Type | enum |
| Header File | /Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraEmitter.h |
| Include Path | #include "NiagaraEmitter.h" |
Syntax
enum EParticleAllocationMode
{
AutomaticEstimate = 0,
ManualEstimate,
FixedCount,
}
Values
| Name | Remarks |
|---|---|
| AutomaticEstimate | This mode tries to estimate the max particle count at runtime by using previous simulations as reference. |
| ManualEstimate | This mode is useful if the particle count can vary wildly at runtime (e.g. due to user parameters) and a lot of reallocations happen. |
| FixedCount | This mode defines an upper limit on the number of particles that will be simulated. |