Navigation
API > API/Plugins > API/Plugins/Niagara > API/Plugins/Niagara/UNiagaraComponent
Description
Sets the simulation cache to use for the component. A null SimCache parameter will clear the active simulation cache. When clearing a simulation cache that has been running you may wish to reset or continue, this option is only valid when using a full simulation cache. A renderer only cache will always reset as we can not continue the simulation due to missing simulation data.
| Name | SetSimCache |
| Type | function |
| Header File | /Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraComponent.h |
| Include Path | #include "NiagaraComponent.h" |
| Source | /Engine/Plugins/FX/Niagara/Source/Niagara/Private/NiagaraComponent.cpp |
UFUNCTION (BlueprintCallable, Category=SimCache)
void SetSimCache
(
UNiagaraSimCache * SimCache,
bool bResetSystem
)