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