Module |
|
Header |
/Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraCommon.h |
Include |
#include "NiagaraCommon.h" |
[USTRUCT](Programming/UnrealArchitecture/Reference/Structs)()
struct FNiagaraSystemUpdateContext
Helper for reseting/reinitializing Niagara systems currently active when they are being edited. Can be used inside a scope with Systems being reinitialized on destruction or you can store the context and use CommitUpdate() to trigger reinitialization. For example, this can be split between PreEditChange and PostEditChange to ensure problematic data is not modified during execution of a system.
Name | Description | |
---|---|---|
|
FNiagaraSystemUpdateContext() |
|
|
FNiagaraSystemUpdateContext ( |
|
|
FNiagaraSystemUpdateContext ( |
|
|
FNiagaraSystemUpdateContext ( |
|
|
FNiagaraSystemUpdateContext ( |
FNiagaraSystemUpdateContext(UNiagaraDataInterface* Interface, bool bReinit) : Add(Interface, bReinit) {}. |
Name | Description | |
---|---|---|
|
~FNiagaraSystemUpdateContext() |
Name | Description | ||
---|---|---|---|
|
Add ( |
||
|
Add ( |
||
|
Add ( |
||
|
Add ( |
||
|
AddAll ( |
Adds all currently active systems. |
|
|
CommitUpdate() |
Handles any pending reinits or resets of system instances in this update context. |
|
|
SetDestroyOnAdd ( |
||
|
SetOnlyActive ( |