Navigation
API > API/Plugins > API/Plugins/Niagara > API/Plugins/Niagara/FNiagaraSimCacheCapture
References
| Module | Niagara |
| Header | /Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraSimCacheCapture.h |
| Include | #include "NiagaraSimCacheCapture.h" |
| Source | /Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraSimCacheCapture.cpp |
bool CaptureCurrentFrameImmediate
&40;
UNiagaraSimCache &42; SimCache,
FNiagaraSimCacheCreateParameters CreateParameters,
UNiagaraComponent &42; NiagaraComponent,
UNiagaraSimCache &42;& OutSimCache,
bool bAdvanceSimulation,
float AdvanceDeltaTime
&41;
Remarks
Captures the simulations current frame data into the SimCache. This happens immediately so you may need to be careful with tick order of the component you are capturing from. The return can be invalid if the component can not be captured for some reason (i.e. not active). When AdvanceSimulation is true we will manually advance the simulation one frame using the provided AdvanceDeltaTime before capturing.