| TSharedFromThis | ||
| FGCObject
|
Module |
|
Header |
/Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraSystemSimulation.h |
Include |
#include "NiagaraSystemSimulation.h" |
class FNiagaraSystemSimulation :
public TSharedFromThis< FNiagaraSystemSimulation, ESPMode::ThreadSafe >,
private FGCObject
Simulation performing all system and emitter scripts for a instances of a UNiagaraSystem in a world.
Name | Description | ||
---|---|---|---|
|
uint32: 1 |
bBindingsInitialized |
|
|
uint32: 1 |
bCanExecute |
|
|
uint32: 1 |
bInSpawnPhase |
|
|
uint32: 1 |
bIsSolo |
|
|
ConstantBufferToDataSetBinding |
||
|
CrashReporterTag |
||
|
DataSetToEmitterEventParameters |
Binding to push system attributes into each emitter event parameters. |
|
|
DataSetToEmitterGPUParameters |
Binding to push system attributes into each emitter gpu parameters. |
|
|
DataSetToEmitterSpawnParameters |
Binding to push system attributes into each emitter spawn parameters. |
|
|
DataSetToEmitterUpdateParameters |
Binding to push system attributes into each emitter update parameters. |
|
|
EffectType |
We cache off the effect type in the unlikely even that someone GCs the System from under us so that we can keep the effect types instance count etc accurate. |
|
|
EmitterExecutionStateAccessors |
||
|
EmitterSpawnInfoAccessors |
||
|
MainDataSet |
Main dataset containing system instance attribute data. |
|
|
TOptional< floa... |
MaxDeltaTime |
|
|
PausedInstanceData |
DataSet used to store pausing instance data. |
|
|
PausedSystemInstances |
System instances that are paused. |
|
|
PendingSystemInstances |
System instances that are pending to be spawned. |
|
|
PendingTickGroupPromotions |
List of instances that are pending a tick group promotion. |
|
|
ScriptDefinedDataInterfaceParameters |
A parameter store which contains the data interfaces parameters which were defined by the scripts. |
|
|
SpawnExecContext |
||
|
SpawnGlobalSpawnCountScaleParam |
||
|
SpawnGlobalSystemCountScaleParam |
||
|
SpawningDataSet |
DataSet used if we have to spawn instances outside of their tick. |
|
|
SpawningInstances |
System instances that are about to be spawned outside of regular ticking. |
|
|
SpawnInstanceParameterDataSet |
As there's a 1 to 1 relationship between system instance and their execution in this simulation we must pull all that instances parameters into a dataset for simulation. |
|
|
SpawnInstanceParameterToDataSetBinding |
Bindings that pull per component parameters into the spawn parameter dataset. |
|
|
SpawnNumSystemInstancesParam |
Direct bindings for Engine variables in System Spawn and Update scripts. |
|
|
SystemExecutionStateAccessor |
||
|
SystemInstances |
System instances that have been spawned and are now simulating. |
|
|
SystemTickGraphEvent |
Current task that is executing |
|
|
SystemTickGroup |
Which tick group we are in, only valid when not in Solo mode. |
|
|
TickBatch |
Current tick batch we're filling ready for processing, potentially in an async task. |
|
|
UpdateExecContext |
||
|
UpdateGlobalSpawnCountScaleParam |
||
|
UpdateGlobalSystemCountScaleParam |
||
|
UpdateInstanceParameterDataSet |
||
|
UpdateInstanceParameterToDataSetBinding |
Bindings that pull per component parameters into the update parameter dataset. |
|
|
UpdateNumSystemInstancesParam |
||
|
TWeakObjectPtr<... |
WeakSystem |
System of instances being simulated. |
|
UWorld * |
World |
World this system simulation belongs to. |
Name | Description | |
---|---|---|
|
FNiagaraSystemSimulation() |
Name | Description | |
---|---|---|
|
~FNiagaraSystemSimulation() |
Name | Description | ||
---|---|---|---|
|
AddInstance ( |
||
|
AddSystemToTickBatch ( |
||
|
AddTickGroupPromotion ( |
||
|
BuildConstantBufferTable ( |
Builds the constant buffer table for a given script execution |
|
|
Destroy() |
||
|
DumpInstance ( |
||
|
DumpTickInfo ( |
Dump information about all instances tick |
|
|
FlushTickBatch |
||
|
const FStrin... |
GetCrashReporterTag() |
|
|
GetIsSolo() |
||
|
UNiagaraPara... |
GetParameterCollectionInstance ( |
|
|
FNiagaraPara... |
GetScriptDefinedDataInterfaceParameters() |
|
|
FNiagaraScri... |
GetSpawnExecutionContext() |
|
|
UNiagaraSyst... |
GetSystem() |
|
|
FNiagaraScri... |
GetUpdateExecutionContext() |
|
|
Init ( |
||
|
InitParameterDataSetBindings ( |
||
|
IsValid() |
||
|
PauseInstance ( |
||
|
PrepareForSystemSimulate |
Does any prep work for system simulation such as pulling instance parameters into a dataset. |
|
|
RemoveInstance ( |
||
|
SetupParameters_GameThread ( |
Sets constant parameter values |
|
|
ShouldTickAsync ( |
Should we push the system sim tick off the game thread. |
|
|
ShouldTickInstancesAsync ( |
Should we push the system instance ticks off the game thread. |
|
|
Spawn_GameThread ( |
Spawn any pending instances, assumes that you have update tick groups ahead of time. |
|
|
SpawnSystemInstances |
Runs the system spawn script for new system instances. |
|
|
Tick ( |
||
|
Tick_Concurrent |
Second phase of system sim tick that can run on any thread. |
|
|
Tick_GameThread ( |
First phase of system sim tick. Must run on GameThread. |
|
|
TransferInstance ( |
Transfers a system instance from SourceSimulation. |
|
|
TransferSystemSimResults |
Transfers the results of the system simulation into the emitter instances. |
|
|
UnpauseInstance ( |
||
|
UpdateSystemInstances |
Runs the system update script. |
|
|
UpdateTickGroups_GameThread() |
Update TickGroups for pending instances and execute tick group promotions. |
|
|
WaitForInstancesTickComplete ( |
Wait for instances tick to complete. |
|
|
WaitForSystemTickComplete ( |
Promote instances that have ticked during Wait for system simulation tick to complete. |
Name | Description | ||
---|---|---|---|
|
AddReferencedObjects ( |
Pure virtual that must be overloaded by the inheriting class. |