unreal.ParticleAllocationMode

class unreal.ParticleAllocationMode

Bases: unreal.EnumBase

EParticle Allocation Mode

C++ Source:

  • Plugin: Niagara

  • Module: Niagara

  • File: NiagaraEmitter.h

AUTOMATIC_ESTIMATE

This mode tries to estimate the max particle count at runtime by using previous simulations as reference.

Type

0

FIXED_COUNT

This mode defines an upper limit on the number of particles that will be simulated. Useful for rejection sampling where we expect many spawned particles to get killed.

Type

2

MANUAL_ESTIMATE

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.

Type

1