G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
NiagaraSimCache Namespace Reference

Functions

NiagaraSimCache
UNiagaraSimCache CreateNiagaraSimCache ()
 Captures the simulation cache object that can be captured into using the various API calls.
bool CaptureNiagaraSimCacheImmediate (UNiagaraSimCache SimCache, FNiagaraSimCacheCreateParameters CreateParameters, UNiagaraComponent NiagaraComponent, UNiagaraSimCache &OutSimCache, bool bAdvanceSimulation=false, float32 AdvanceDeltaTime=0.016660)
 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.

Function Documentation

◆ CaptureNiagaraSimCacheImmediate()

bool CaptureNiagaraSimCacheImmediate ( UNiagaraSimCache SimCache,
FNiagaraSimCacheCreateParameters CreateParameters,
UNiagaraComponent NiagaraComponent,
UNiagaraSimCache & OutSimCache,
bool bAdvanceSimulation = false,
float32 AdvanceDeltaTime = 0.016660 )

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.

◆ CreateNiagaraSimCache()

UNiagaraSimCache CreateNiagaraSimCache ( )

Captures the simulation cache object that can be captured into using the various API calls.