| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraSystem.h |
Include |
#include "NiagaraSystem.h" |
UCLASS(BlueprintType, Meta=(LoadBehavior="LazyOnDemand"))
class UNiagaraSystem :
public UFXSystemAsset,
public INiagaraParameterDefinitionsSubscriber
A Niagara System contains multiple Niagara Emitters to create various effects. Niagara Systems can be placed in the world, unlike Emitters, and expose User Parameters to configure an effect at runtime.
Name | Description | ||
---|---|---|---|
|
ActiveCompilations |
||
|
int32 |
ActiveInstances |
Total active instances of this system. |
|
AssetGuid |
||
|
TObjectPtr< UNi... |
BakerGeneratedSettings |
Generated data baker settings, will be null until we have generated at least once. |
|
TObjectPtr< UNi... |
BakerSettings |
Settings used inside the baker |
|
uint32: 1 |
bAllDIsPostSimulateCanOverlapFrames |
|
|
bool |
bAllowCullingForLocalPlayers |
|
|
uint32: 1 |
bAllowCullingForLocalPlayersOverride |
The override value for bAllowCullingForLocalPlayers from the Effect Type. |
|
bool |
bAutoDeactivate |
|
|
uint32: 1 |
bBakeOutRapidIteration |
When enable constant values are baked into the scripts while editing the system, this will increase iteration times but improve performance. |
|
uint32: 1 |
bBakeOutRapidIterationOnCook |
When enabled constant values are baked into scripts to improve performance. |
|
uint8: 1 |
bCastShadow |
When enabled this is the default value set on the component. |
|
bool |
bCompilationReentrantGuard |
|
|
uint32: 1 |
bCompileForEdit |
When enabled we compile for the edit path, which can result in slower system performance but faster editor responsiveness. |
|
uint32: 1 |
bCompressAttributes |
Toggles whether or not emitters within this system will try and compress their particle attributes. |
|
bool |
bDeterminism |
When disabled we will generate a RandomSeed per instance on reset which is not deterministic. |
|
uint32: 1 |
bDisableDebugSwitches |
When enable debug switches are disabled while editing the system. |
|
uint32: 1 |
bDisableDebugSwitchesOnCook |
When enabled debug switches are disabled when compiling the system. |
|
uint8: 1 |
bDisableExperimentalVM |
If true, disables experimental VM, if available |
|
bool |
bDumpDebugEmitterInfo |
|
|
bool |
bDumpDebugSystemInfo |
|
|
uint32: 1 |
bFixedBounds |
Whether or not fixed bounds are enabled. |
|
bool |
bFixedTickDelta |
|
|
bool |
bFullyLoaded |
|
|
uint32: 1 |
bHasAnyGPUEmitters |
|
|
uint32: 1 |
bHasDIsWithPostSimulateTick |
|
|
bool |
bHasSystemScriptDIsWithPerInstanceData |
|
|
uint32: 1 |
bIgnoreParticleReadsForAttributeTrim |
If true ParticleReads will not absolutely prevent attribute trimming - User must ensure that the appropriate attributes are preserved on the source emitter! |
|
bool |
bIsolateEnabled |
|
|
uint32: 1 |
bIsReadyToRunCached |
|
|
uint32: 1 |
bIsValidCached |
|
|
uint32: 1 |
bLwcEnabledSettingCached |
|
|
uint32: 1 |
bNeedsAsyncOptimize |
|
|
bool |
bNeedsGPUContextInitForDataInterfaces |
|
|
uint32: 1 |
bNeedsRequestCompile |
When set the system needs to compile before it can be activated. |
|
uint32: 1 |
bNeedsSortedSignificanceCull |
|
|
uint32: 1 |
bOverrideAllowCullingForLocalPlayers |
Controls whether we should override the Effect Type value for bAllowCullingForLocalPlayers. |
|
uint8: 1 |
bOverrideCastShadow |
Various optional overrides for component properties when spawning a system. |
|
uint8: 1 |
bOverrideCustomDepthStencilValue |
|
|
uint8: 1 |
bOverrideCustomDepthStencilWriteMask |
|
|
uint8: 1 |
bOverrideReceivesDecals |
|
|
uint8: 1 |
bOverrideRenderCustomDepth |
|
|
bool |
bOverrideScalabilitySettings |
|
|
uint8: 1 |
bOverrideTranslucencySortDistanceOffset |
|
|
uint8: 1 |
bOverrideTranslucencySortPriority |
|
|
uint8: 1 |
bReceivesDecals |
When enabled this is the default value set on the component. Whether the primitive receives decals. |
|
uint8: 1 |
bRenderCustomDepth |
When enabled this is the default value set on the component. |
|
bool |
bRequireCurrentFrameData |
When enabled, we follow the settings on the UNiagaraComponent for tick order. |
|
uint8: 1 |
bSupportLargeWorldCoordinates |
If true then position type values will be rebased on system activation to fit into a float precision vector. |
|
uint32: 1 |
bTrimAttributes |
When enabled we trim particle attributes while editing the system. |
|
uint32: 1 |
bTrimAttributesOnCook |
If true Particle attributes will be removed from the DataSet if they are unnecessary (are never read by ParameterMap) |
|
TSharedPtr< FNi... |
CachedTraversalData |
|
|
Category |
Category of this system. |
|
|
CrashReporterTag |
||
|
CurrentScalabilitySettings |
Scalability settings. |
|
|
int32 |
CustomDepthStencilValue |
When enabled this is the default value set on the component. |
|
ERendererStenci... |
CustomDepthStencilWriteMask |
When enabled this is the default value set on the component. Mask used for stencil buffer writes. |
|
TObjectPtr< UNi... |
EditorData |
Data used by the editor to maintain UI state etc.. |
|
EditorOnlyAddedParameters |
||
|
TObjectPtr< UNi... |
EditorParameters |
Wrapper for editor only parameters. |
|
TObjectPtr< UNi... |
EffectType |
|
|
EmitterCompiledData |
||
|
EmitterExecutionOrder |
Array of emitter indices sorted by execution priority. |
|
|
EmitterExecutionStateAccessors |
||
|
EmitterHandles |
Handles to the emitter this System will simulate. |
|
|
EmitterSpawnInfoAccessors |
||
|
ExposedParameters |
Variables exposed to the outside work for tweaking |
|
|
FBox |
FixedBounds |
The fixed bounding box value. bFixedBounds is the condition whether the fixed bounds can be edited. |
|
float |
FixedTickDeltaTime |
If activated, the system ticks with a fixed delta time instead of the varying game thread delta time. |
|
LibraryVisibility |
If this system is exposed to the library, or should be explicitly hidden. |
|
|
TOptional< floa... |
MaxDeltaTime |
|
|
MessageKeyToMessageMap |
Messages associated with the System asset. |
|
|
OnScalabilityChangedDelegate |
A multicast delegate that is called whenever the effect type or the effect type values are changed |
|
|
OnSystemCompiledDelegate |
A multicast delegate which is called whenever the script has been compiled (successfully or not). |
|
|
OnSystemPostEditChangeDelegate |
A multicast delegate which is called whenever this system's properties are changed. |
|
|
ParameterCollectionOverrides |
||
|
ParameterDefinitionsSubscriptions |
Subscriptions to definitions of parameters. |
|
|
FGraphEventRef |
PSOPrecacheCompletionEvent |
|
|
int32 |
RandomSeed |
Seed used for system script random number generator. |
|
ReferencedDataChannelDefinitions |
||
|
RendererCompletionOrder |
Array of renderer indices to notify system Completion, in order of execution |
|
|
TArray< int32 > |
RendererDrawOrder |
Precomputed emitter renderer draw order, since emitters & renderers are not dynamic we can do this. |
|
RendererPostTickOrder |
Array of renderer indices to notify system PostTick, in order of execution |
|
|
ScratchPadScripts |
||
|
FGraphEventRef |
ScriptOptimizationCompletionEvent |
|
|
TUniquePtr< FNi... |
StaticBuffers |
|
|
SystemCompiledData |
||
|
SystemExecutionStateAccessor |
||
|
SystemScalabilityOverrides |
||
|
TObjectPtr< UNi... |
SystemSpawnScript |
The script which defines the System parameters, and which generates the bindings from System parameter to emitter parameter. |
|
TObjectPtr< UNi... |
SystemUpdateScript |
The script which defines the System parameters, and which generates the bindings from System parameter to emitter parameter. |
|
TemplateAssetDescription |
||
|
TemplateSpecification |
If this system is a regular system, a template or a behavior example. |
|
|
TObjectPtr< cla... |
ThumbnailImage |
Internal: The thumbnail image. |
|
float |
TranslucencySortDistanceOffset |
When enabled this is the default value set on the component. |
|
int32 |
TranslucencySortPriority |
When enabled this is the default value set on the component. |
|
UpdateContext |
||
|
UserDINamesReadInSystemScripts |
||
|
int32 |
WarmupTickCount |
Number of ticks to process for warmup. You can set by this or by time via WarmupTime. |
|
float |
WarmupTickDelta |
Delta time to use for warmup ticks. |
|
float |
WarmupTime |
Warm up time in seconds. |
Name | Description | |
---|---|---|
|
UNiagaraSystem ( |
|
|
UNiagaraSystem ( |
Name | Description | |
---|---|---|
|
~UNiagaraSystem() |
Name | Description | ||
---|---|---|---|
|
FNiagaraEmit... |
AddEmitterHandle ( |
Adds a new emitter handle to this System. |
|
void |
AddEmitterHandleDirect ( |
Adds a new emitter handle to this system without copying the original asset. |
|
void |
AddMessage ( |
|
|
void |
AddToInstanceCountStat ( |
|
|
bool |
AllDIsPostSimulateCanOverlapFrames() |
|
|
bool |
AllowCullingForLocalPlayers() |
|
|
bool |
AllowScalabilityForLocalPlayerFX() |
|
|
void |
AsyncOptimizeAllScripts() |
|
|
void |
CacheFromCompiledData() |
Cache data & accessors from the compiled data, allows us to avoid per instance. |
|
bool |
CanObtainEmitterAttribute ( |
|
|
bool |
CanObtainSystemAttribute ( |
|
|
bool |
CanObtainUserVariable ( |
|
|
bool |
ChangeEmitterVersion ( |
|
|
bool |
ComputeEmitterPriority |
Computes emitter priorities based on the dependency information. |
|
void |
ComputeEmittersExecutionOrder() |
Computes the order in which the emitters in the Emitters array will be ticked and stores the results in EmitterExecutionOrder. |
|
void |
ComputeRenderersDrawOrder() |
Computes the order in which renderers will render |
|
void |
DeclareConstructClasses ( |
|
|
FNiagaraEmit... |
DuplicateEmitterHandle ( |
Duplicates an existing emitter handle and adds it to the System. |
|
void |
EnsureFullyLoaded() |
|
|
void |
FindDataInterfaceDependencies ( |
Queries all the data interfaces in the array for emitter dependencies. |
|
void |
FindEventDependencies ( |
Looks at all the event handlers in the emitter to determine which other emitters it depends on. |
|
void |
ForceGraphToRecompileOnNextCheck() |
|
|
void |
ForEachPlatformSet ( |
Performs the passed action for all FNiagaraPlatformSets used by this system. |
|
void |
ForEachScript ( |
Performs the passed action for all scripts in this system. |
|
void |
GatherStaticVariables ( |
|
|
void |
GenerateStatID() |
|
|
int32 & |
GetActiveInstancesCount() |
|
|
const FGuid ... |
GetAssetGuid() |
|
|
const UNiaga... |
GetBakerGeneratedSettings() |
|
|
UNiagaraBake... |
GetBakerSettings() |
|
|
const TShare... |
GetCachedTraversalData() |
Get the cached parameter map traversal for this emitter. |
|
const FStrin... |
GetCrashReporterTag() |
|
|
ENiagaraCull... |
GetCullProxyMode() |
|
|
const FNiaga... |
GetCurrentOverrideSettings() |
|
|
const UNiaga... |
GetEditorData() |
Gets editor specific data stored with this system. |
|
UNiagaraEdit... |
GetEditorData() |
Gets editor specific data stored with this system. |
|
UNiagaraEdit... |
GetEditorParameters() |
Gets editor specific parameters stored with this system |
|
UNiagaraEffe... |
GetEffectType() |
|
|
const TArray... |
GetEmitterCompiledData() |
|
|
TConstArrayV... |
GetEmitterExecutionOrder() |
|
|
TConstArrayV... |
GetEmitterExecutionStateAccessors() |
|
|
FNiagaraEmit... |
GetEmitterHandle ( |
|
|
const FNiaga... |
GetEmitterHandle ( |
|
|
GetEmitterHandles() |
Gets an array of the emitter handles. |
|
|
const TArray... |
GetEmitterHandles() |
Gets an array of the emitter handles. |
|
TConstArrayV... |
GetEmitterSpawnInfoAccessors ( |
|
|
const FNiaga... |
GetExposedParameters() |
From the last compile, what are the variables that were exported out of the system for external use? |
|
FNiagaraUser... |
GetExposedParameters() |
|
|
FBox |
GetFixedBounds() |
|
|
float |
GetFixedTickDeltaTime() |
|
|
bool |
GetIsolateEnabled() |
|
|
TOptional< f... |
GetMaxDeltaTime() |
|
|
const TMap< ... |
GetMessages() |
|
|
int |
GetNumEmitters() |
|
|
bool |
GetOverrideScalabilitySettings() |
|
|
UNiagaraPara... |
GetParameterCollectionOverride ( |
|
|
int32 |
GetRandomSeed() |
|
|
TConstArrayV... |
GetRendererCompletionOrder() |
|
|
TConstArrayV... |
GetRendererDrawOrder() |
|
|
TConstArrayV... |
GetRendererPostTickOrder() |
|
|
FNiagaraSyst... |
GetScalabilityOverrides() |
|
|
const FNiaga... |
GetScalabilitySettings() |
|
|
FGraphEventR... |
GetScriptOptimizationCompletionEvent() |
|
|
const FNiaga... |
GetStaticBuffers() |
|
|
GetStatID ( |
||
|
const FNiaga... |
GetSystemCompiledData() |
|
|
const FNiaga... |
GetSystemExecutionStateAccessor() |
|
|
FNiagaraSyst... |
GetSystemScalabilityOverrides() |
|
|
const UNiaga... |
GetSystemSpawnScript() |
|
|
UNiagaraScri... |
GetSystemSpawnScript() |
Gets the System script which is used to populate the System parameters and parameter bindings. |
|
const UNiaga... |
GetSystemUpdateScript() |
|
|
UNiagaraScri... |
GetSystemUpdateScript() |
|
|
const TArray... |
GetUserDINamesReadInSystemScripts() |
|
|
int32 |
GetWarmupTickCount() |
|
|
float |
GetWarmupTickDelta() |
|
|
float |
GetWarmupTime() |
|
|
void |
GraphSourceChanged() |
|
|
void |
HandleVariableRemoved ( |
Helper method to handle when an internal variable has been removed. |
|
void |
HandleVariableRenamed ( |
Helper method to handle when an internal variable has been renamed. |
|
bool |
HasAnyGPUEmitters() |
|
|
bool |
HasDIsWithPostSimulateTick() |
|
|
bool |
HasFixedTickDelta() |
|
|
bool |
HasOutstandingCompilationRequests ( |
Are there any pending compile requests? |
|
bool |
HasSystemScriptDIsWithPerInstanceData() |
|
|
void |
InvalidateActiveCompiles() |
Invalidates any active compilation requests which will ignore their results. |
|
void |
InvalidateCachedData() |
|
|
bool |
IsLooping() |
|
|
bool |
IsReadyToRun() |
|
|
bool |
IsValid() |
Returns true if this system is valid and can be instanced. False otherwise. |
|
void |
KillAllActiveCompilations() |
Tries to abort all running shader compilations |
|
bool |
NeedsDeterminism() |
|
|
bool |
NeedsGPUContextInitForDataInterfaces() |
|
|
bool |
NeedsRequestCompile() |
|
|
bool |
NeedsSortedSignificanceCull() |
|
|
bool |
NeedsWarmup() |
|
|
void |
OnCompiledDataInterfaceChanged() |
Updates any post compile data based upon data interfaces. |
|
FOnScalabili... |
OnScalabilityChanged() |
Delegate called on effect type or effect type value change |
|
FOnSystemCom... |
OnSystemCompiled() |
Delegate called when the system's dependencies have all been compiled. |
|
FOnSystemPos... |
OnSystemPostEditChange() |
Delegate called on PostEditChange. |
|
bool |
PollForCompilationComplete ( |
If we have a pending compile request, is it done with yet? |
|
void |
PrecachePSOs() |
|
|
void |
PrepareRapidIterationParametersForCompilation() |
Updates the rapid iteration parameters for all scripts referenced by the system. |
|
void |
RecomputeExecutionOrderForDataInterface ( |
|
|
void |
RecomputeExecutionOrderForEmitter ( |
|
|
bool |
ReferencesInstanceEmitter ( |
Determines if this system has the supplied emitter as an editable and simulating emitter instance. |
|
void |
RefreshSystemParametersFromEmitter ( |
Updates the system's rapid iteration parameters from a specific emitter. |
|
void |
RegisterActiveInstance() |
|
|
void |
RegisterDataChannelUse ( |
Registers that this System uses the passed DI. |
|
void |
RemoveEmitterHandle ( |
Removes the provided emitter handle. |
|
void |
RemoveEmitterHandlesById |
Removes the emitter handles which have an Id in the supplied set. |
|
void |
RemoveMessage ( |
|
|
void |
RemoveMessageDelegateable ( |
|
|
void |
RemoveSystemParametersForEmitter ( |
Removes the system's rapid iteration parameters for a specific emitter. |
|
bool |
RequestCompile ( |
Request that any dirty scripts referenced by this system be compiled. |
|
void |
RequestCompileForEmitter ( |
|
|
void |
ResetToEmptySystem() |
Resets internal data leaving it in a state which would have minimal cost to exist in headless builds (servers) |
|
void |
ResolveWarmupTickCount() |
|
|
void |
SetBakeOutRapidIterationOnCook ( |
|
|
void |
SetBakerGeneratedSettings ( |
|
|
void |
SetEffectType ( |
|
|
void |
SetFixedBounds ( |
|
|
void |
SetIsolateEnabled ( |
|
|
void |
SetOverrideScalabilitySettings ( |
|
|
void |
SetTrimAttributesOnCook ( |
|
|
void |
SetWarmupTickDelta ( |
|
|
void |
SetWarmupTime ( |
|
|
bool |
ShouldAutoDeactivate() |
|
|
bool |
ShouldCompressAttributes() |
|
|
bool |
ShouldDisableDebugSwitches() |
|
|
bool |
ShouldDisableExperimentalVM() |
|
|
bool |
ShouldIgnoreParticleReadsForAttributeTrim() |
|
|
bool |
ShouldTrimAttributes() |
|
|
bool |
ShouldUseRapidIterationParameters() |
|
|
bool |
SupportsLargeWorldCoordinates() |
|
|
void |
UnregisterActiveInstance() |
|
|
void |
UpdateScalability() |
|
|
void |
UpdateSystemAfterLoad() |
|
|
bool |
UsesCollection ( |
|
|
bool |
UsesEmitter ( |
|
|
bool |
UsesEmitter ( |
|
|
bool |
UsesScript ( |
|
|
void |
WaitForCompilationComplete ( |
Blocks until all active compile jobs have finished |
Name | Description | ||
---|---|---|---|
|
void |
BeginCacheForCookedPlatformData ( |
Starts caching of platform specific data for the target platform Called when cooking before serialization so that object can prepare platform specific data Not called during normal loading of objects |
|
void |
BeginDestroy() |
Called before destroying the object. |
|
void |
GetAssetRegistryTags ( |
Gathers a list of asset registry searchable tags which are name/value pairs with some type information This only needs to be implemented for asset objects |
|
bool |
IsCachedCookedPlatformDataLoaded ( |
Have we finished loading all the cooked platform data for the target platforms requested in BeginCacheForCookedPlatformData |
|
void |
PostEditChangeProperty ( |
Called when a property on this object has been modified externally |
|
void |
PostInitProperties() |
Called after the C++ constructor and after the properties have been initialized, including those loaded from config. |
|
void |
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |
|
void |
PreEditChange ( |
This is called when a property is about to be modified externally |
|
void |
PreSave ( |
Presave function. |
|
void |
Serialize ( |
Handles reading, writing, and reference collecting using FArchive. |
Name | Description | ||
---|---|---|---|
|
GetAllSourceScripts() |
Get all UNiagaraScriptSourceBase of this subscriber. |
|
|
GetEditorOnlyParametersAdapters() |
Get All adapters to editor only script vars owned directly by this subscriber. |
|
|
GetOwnedParameterDefinitionsSubscribers() |
Get all subscribers that are owned by this subscriber. |
|
|
GetParameterDefinitionsSubscriptions() |
||
|
const TArray... |
GetParameterDefinitionsSubscriptions() |
|
|
GetSourceObjectPathName() |
Get the path to the UObject of this subscriber. |
Name |
Description |
|
---|---|---|
|
FStaticBuffersDeletor |
Name |
Description |
---|---|
FOnScalabilityChanged |
|
FOnSystemCompiled |
|
FOnSystemPostEditChange |
Name |
Description |
---|---|
kStartNewOverlapGroupBit |
When an index inside the EmitterExecutionOrder array has this bit set, it means the corresponding emitter cannot execute in parallel with the previous emitters due to a data dependency. |
Name | Description | ||
---|---|---|---|
|
bool |
bExposeToLibrary_DEPRECATED |
Deprecated library exposure bool. |
|
bool |
bIsTemplateAsset_DEPRECATED |
Deprecated template asset bool. Use the TemplateSpecification enum instead. |
|
ScalabilityOverrides_DEPRECATED |
Name | Description | ||
---|---|---|---|
|
PRAGMA_DISAB... |
PreSave ( |
Use version that takes FObjectPreSaveContext instead. |