unreal.NCPoolMethod
¶
- class unreal.NCPoolMethod¶
Bases:
unreal.EnumBase
ENCPool Method
C++ Source:
Plugin: Niagara
Module: Niagara
File: NiagaraCommon.h
- AUTO_RELEASE¶
The component is allocated from the pool and will be automatically released back to it. User need not handle this any more that other NCs but interaction with the NC after the tick it’s spawned in are unsafe. This method is useful for one-shot fx that you don’t need to keep a reference to and can fire and forget.
- Type
1
- MANUAL_RELEASE¶
NC is allocated from the pool but will NOT be automatically released back to it. User has ownership of the NC and must call ReleaseToPool when finished with it otherwise the NC will leak. Interaction with the NC after it has been released are unsafe. This method is useful for persistent FX that you need to modify parameters upon etc over it’s lifetime.
- Type
2
- NONE¶
The component will be created fresh and not allocated from the pool.
- Type
0