Navigation
Unreal Engine C++ API Reference > Plugins > Niagara
References
Module | Niagara |
Header | /Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraComponentPool.h |
Include | #include "NiagaraComponentPool.h" |
Syntax
USTRUCT&40;&41;
struct FNCPool
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
TArray< FNCPoolElement > | FreeElements | Collection of all currently allocated, free items ready to be grabbed for use. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
UNiagaraComponent * | Acquire
(
UWorld* World, |
Gets a component from the pool ready for use. |
![]() |
void | Cleanup () |
|
![]() |
void | KillUnusedComponents
(
double KillTime, |
Kills any components that have not been used since the passed KillTime. |
![]() |
int32 | ||
![]() |
void | Reclaim
(
UNiagaraComponent* NC, |
Returns a component to the pool. |
![]() |
bool | RemoveComponent
(
UNiagaraComponent* Component |
Forces us to remove a component, returns true if the component exists inside the pool. |