/Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraSimCacheFunctionLibrary.h
Capture multiple frames from the provided simulation into a SimCache until the simulation becomes inactive, completes or we hit the NumFrames limit. Capture occurs at the end of each frame with the first frame being this frame. CaptureRate allows you to reduce the rate of capture, i.e. a rate of 2 would capture frames 0, 2, 4, etc. When AdvanceSimulation is true we will manually advance the simulation in a loop until we have captured the number of frames request, rather than reading from the component each frame.
[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Meta=(BlueprintInternalUseOnly="true", Category=NiagaraSimCache, AdvancedDisplay="CaptureRate, bAdvanceSimulation, AdvanceDeltaTime")) static [UAsyncNiagaraCaptureSimCache](API\Plugins\Niagara\UAsyncNiagaraCaptureSimCache) * CaptureNiagaraSimCacheMultiFrame ( [UNiagaraSimCache](API\Plugins\Niagara\UNiagaraSimCache) * SimCache, [FNiagaraSimCacheCreateParameters](API\Plugins\Niagara\FNiagaraSimCacheCreateParameters) CreateParameters, [UNiagaraComponent](API\Plugins\Niagara\UNiagaraComponent) * NiagaraComponent, [UNiagaraSimCache](API\Plugins\Niagara\UNiagaraSimCache) *& OutSimCache, int32 NumFrames, int32 CaptureRate, bool bAdvanceSimulation, float AdvanceDeltaTime )