UNiagaraSystem

A Niagara System contains multiple Niagara Emitters to create various effects.

Inheritance Hierarchy

References

Module

Niagara

Header

/Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraSystem.h

Include

#include "NiagaraSystem.h"

Syntax

UCLASS(BlueprintType, Meta=(LoadBehavior="LazyOnDemand"))
class UNiagaraSystem :
    public UFXSystemAsset,
    public INiagaraParameterDefinitionsSubscriber

Remarks

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.

Variables

Name Description

Protected variable UProperty Transient

TArray< FNiagar...

 

ActiveCompilations

Protected variable

int32

 

ActiveInstances

Total active instances of this system.

Protected variable

FGuid

 

AssetGuid

Protected variable UProperty export

TObjectPtr< UNi...

 

BakerGeneratedSettings

Generated data baker settings, will be null until we have generated at least once.

Protected variable UProperty export

TObjectPtr< UNi...

 

BakerSettings

Settings used inside the baker

Protected variable

uint32: 1

 

bAllDIsPostSimulateCanOverlapFrames

Protected variable

bool

 

bAllowCullingForLocalPlayers

Protected variable UProperty Category, EditAnywhere, Meta

uint32: 1

 

bAllowCullingForLocalPlayersOverride

The override value for bAllowCullingForLocalPlayers from the Effect Type.

Protected variable UProperty Category, EditAnywhere, Meta

bool

 

bAutoDeactivate

Protected variable UProperty Category, EditAnywhere, AdvancedDisplay, Meta

uint32: 1

 

bBakeOutRapidIteration

When enable constant values are baked into the scripts while editing the system, this will increase iteration times but improve performance.

Protected variable UProperty Category, EditAnywhere, AdvancedDisplay, Meta

uint32: 1

 

bBakeOutRapidIterationOnCook

When enabled constant values are baked into scripts to improve performance.

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadOnly

uint8: 1

 

bCastShadow

When enabled this is the default value set on the component.

Protected variable

bool

 

bCompilationReentrantGuard

Public variable UProperty Transient

uint32: 1

 

bCompileForEdit

When enabled we compile for the edit path, which can result in slower system performance but faster editor responsiveness.

Protected variable UProperty Category, EditAnywhere, AdvancedDisplay

uint32: 1

 

bCompressAttributes

Toggles whether or not emitters within this system will try and compress their particle attributes.

Protected variable UProperty Category, EditAnywhere

bool

 

bDeterminism

When disabled we will generate a RandomSeed per instance on reset which is not deterministic.

Protected variable UProperty Category, EditAnywhere, AdvancedDisplay, Meta

uint32: 1

 

bDisableDebugSwitches

When enable debug switches are disabled while editing the system.

Protected variable UProperty Category, EditAnywhere, AdvancedDisplay, Meta

uint32: 1

 

bDisableDebugSwitchesOnCook

When enabled debug switches are disabled when compiling the system.

Public variable UProperty Category, EditAnywhere, AdvancedDisplay, Meta

uint8: 1

 

bDisableExperimentalVM

If true, disables experimental VM, if available

Public variable UProperty Category, EditAnywhere Transient

bool

 

bDumpDebugEmitterInfo

Public variable UProperty Category, EditAnywhere Transient

bool

 

bDumpDebugSystemInfo

Public variable UProperty Category, EditAnywhere, Meta

uint32: 1

 

bFixedBounds

Whether or not fixed bounds are enabled.

Protected variable UProperty Category, EditAnywhere, Meta

bool

 

bFixedTickDelta

Public variable

bool

 

bFullyLoaded

Protected variable

uint32: 1

 

bHasAnyGPUEmitters

Protected variable

uint32: 1

 

bHasDIsWithPostSimulateTick

Protected variable UProperty

bool

 

bHasSystemScriptDIsWithPerInstanceData

Protected variable UProperty Category, EditAnywhere, AdvancedDisplay

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!

Protected variable

bool

 

bIsolateEnabled

Protected variable

uint32: 1

 

bIsReadyToRunCached

Protected variable

uint32: 1

 

bIsValidCached

Protected variable

uint32: 1

 

bLwcEnabledSettingCached

Protected variable

uint32: 1

 

bNeedsAsyncOptimize

Protected variable UProperty

bool

 

bNeedsGPUContextInitForDataInterfaces

Protected variable

uint32: 1

 

bNeedsRequestCompile

When set the system needs to compile before it can be activated.

Protected variable

uint32: 1

 

bNeedsSortedSignificanceCull

Protected variable UProperty Category, EditAnywhere, Meta

uint32: 1

 

bOverrideAllowCullingForLocalPlayers

Controls whether we should override the Effect Type value for bAllowCullingForLocalPlayers.

Public variable UProperty Category, EditAnywhere, Meta

uint8: 1

 

bOverrideCastShadow

Various optional overrides for component properties when spawning a system.

Public variable UProperty Category, EditAnywhere, Meta

uint8: 1

 

bOverrideCustomDepthStencilValue

Public variable UProperty Category, EditAnywhere, Meta

uint8: 1

 

bOverrideCustomDepthStencilWriteMask

Public variable UProperty Category, EditAnywhere, Meta

uint8: 1

 

bOverrideReceivesDecals

Public variable UProperty Category, EditAnywhere, Meta

uint8: 1

 

bOverrideRenderCustomDepth

Protected variable UProperty Category, EditAnywhere, Meta

bool

 

bOverrideScalabilitySettings

Public variable UProperty Category, EditAnywhere, Meta

uint8: 1

 

bOverrideTranslucencySortDistanceOffset

Public variable UProperty Category, EditAnywhere, Meta

uint8: 1

 

bOverrideTranslucencySortPriority

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadOnly

uint8: 1

 

bReceivesDecals

When enabled this is the default value set on the component. Whether the primitive receives decals.

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadOnly

uint8: 1

 

bRenderCustomDepth

When enabled this is the default value set on the component.

Public variable UProperty Category, EditAnywhere

bool

 

bRequireCurrentFrameData

When enabled, we follow the settings on the UNiagaraComponent for tick order.

Public variable UProperty Category, EditAnywhere, AdvancedDisplay

uint8: 1

 

bSupportLargeWorldCoordinates

If true then position type values will be rebased on system activation to fit into a float precision vector.

Protected variable UProperty Category, EditAnywhere, AdvancedDisplay, Meta

uint32: 1

 

bTrimAttributes

When enabled we trim particle attributes while editing the system.

Protected variable UProperty Category, EditAnywhere, AdvancedDisplay, Meta

uint32: 1

 

bTrimAttributesOnCook

If true Particle attributes will be removed from the DataSet if they are unnecessary (are never read by ParameterMap)

Protected variable

TSharedPtr< FNi...

 

CachedTraversalData

Public variable UProperty Category, EditAnywhere, AdvancedDisplay, Meta assetregistrysearchable

FText

 

Category

Category of this system.

Protected variable

FString

 

CrashReporterTag

Protected variable

FNiagaraSystemS...

 

CurrentScalabilitySettings

Scalability settings.

Public variable UProperty Category, EditAnywhere, AdvancedDisplay, Meta BlueprintReadOnly

int32

 

CustomDepthStencilValue

When enabled this is the default value set on the component.

Public variable UProperty Category, EditAnywhere, AdvancedDisplay, Meta BlueprintReadOnly

ERendererStenci...

 

CustomDepthStencilWriteMask

When enabled this is the default value set on the component. Mask used for stencil buffer writes.

Protected variable UProperty

TObjectPtr< UNi...

 

EditorData

Data used by the editor to maintain UI state etc..

Public variable UProperty Transient

FNiagaraParamet...

 

EditorOnlyAddedParameters

Protected variable UProperty

TObjectPtr< UNi...

 

EditorParameters

Wrapper for editor only parameters.

Protected variable UProperty Category, EditAnywhere

TObjectPtr< UNi...

 

EffectType

Protected variable

TArray< TShared...

 

EmitterCompiledData

Protected variable

TArray< FNiagar...

 

EmitterExecutionOrder

Array of emitter indices sorted by execution priority.

Protected variable

TArray< FNiagar...

 

EmitterExecutionStateAccessors

Protected variable UProperty

TArray< FNiagar...

 

EmitterHandles

Handles to the emitter this System will simulate.

Protected variable

TArray< TArray<...

 

EmitterSpawnInfoAccessors

Protected variable UProperty

FNiagaraUserRed...

 

ExposedParameters

Variables exposed to the outside work for tweaking

Protected variable UProperty Category, EditAnywhere, Meta

FBox

 

FixedBounds

The fixed bounding box value. bFixedBounds is the condition whether the fixed bounds can be edited.

Protected variable UProperty Category, EditAnywhere, Meta

float

 

FixedTickDeltaTime

If activated, the system ticks with a fixed delta time instead of the varying game thread delta time.

Public variable UProperty Category, EditAnywhere, AdvancedDisplay, Meta assetregistrysearchable

ENiagaraScriptL...

 

LibraryVisibility

If this system is exposed to the library, or should be explicitly hidden.

Protected variable

TOptional< floa...

 

MaxDeltaTime

Protected variable UProperty

TMap< FGuid, TO...

 

MessageKeyToMessageMap

Messages associated with the System asset.

Protected variable

FOnScalabilityC...

 

OnScalabilityChangedDelegate

A multicast delegate that is called whenever the effect type or the effect type values are changed

Protected variable

FOnSystemCompil...

 

OnSystemCompiledDelegate

A multicast delegate which is called whenever the script has been compiled (successfully or not).

Protected variable

FOnSystemPostEd...

 

OnSystemPostEditChangeDelegate

A multicast delegate which is called whenever this system's properties are changed.

Protected variable UProperty Category, EditAnywhere

TArray< TObject...

 

ParameterCollectionOverrides

Public variable UProperty

TArray< FParame...

 

ParameterDefinitionsSubscriptions

Subscriptions to definitions of parameters.

Protected variable

FGraphEventRef

 

PSOPrecacheCompletionEvent

Protected variable UProperty Category, EditAnywhere, Meta

int32

 

RandomSeed

Seed used for system script random number generator.

Protected variable UProperty

TArray< TObject...

 

ReferencedDataChannelDefinitions

Protected variable

TArray< FNiagar...

 

RendererCompletionOrder

Array of renderer indices to notify system Completion, in order of execution

Protected variable

TArray< int32 >

 

RendererDrawOrder

Precomputed emitter renderer draw order, since emitters & renderers are not dynamic we can do this.

Protected variable

TArray< FNiagar...

 

RendererPostTickOrder

Array of renderer indices to notify system PostTick, in order of execution

Public variable UProperty

TArray< TObject...

 

ScratchPadScripts

Protected variable

FGraphEventRef

 

ScriptOptimizationCompletionEvent

Protected variable

TUniquePtr< FNi...

 

StaticBuffers

Protected variable UProperty

FNiagaraSystemC...

 

SystemCompiledData

Protected variable

FNiagaraDataSet...

 

SystemExecutionStateAccessor

Protected variable UProperty Category, EditAnywhere, Meta

FNiagaraSystemS...

 

SystemScalabilityOverrides

Protected variable UProperty

TObjectPtr< UNi...

 

SystemSpawnScript

The script which defines the System parameters, and which generates the bindings from System parameter to emitter parameter.

Protected variable UProperty

TObjectPtr< UNi...

 

SystemUpdateScript

The script which defines the System parameters, and which generates the bindings from System parameter to emitter parameter.

Public variable UProperty Category, EditAnywhere, AdvancedDisplay, Meta assetregistrysearchable

FText

 

TemplateAssetDescription

Public variable UProperty Category, EditAnywhere, AdvancedDisplay, Meta assetregistrysearchable

ENiagaraScriptT...

 

TemplateSpecification

If this system is a regular system, a template or a behavior example.

Public variable UProperty

TObjectPtr< cla...

 

ThumbnailImage

Internal: The thumbnail image.

Public variable UProperty Category, EditAnywhere, AdvancedDisplay, Meta BlueprintReadOnly

float

 

TranslucencySortDistanceOffset

When enabled this is the default value set on the component.

Public variable UProperty Category, EditAnywhere, AdvancedDisplay, Meta BlueprintReadOnly

int32

 

TranslucencySortPriority

When enabled this is the default value set on the component.

Public variable UProperty Transient

FNiagaraSystemU...

 

UpdateContext

Protected variable UProperty

TArray< FName >

 

UserDINamesReadInSystemScripts

Protected variable UProperty Category, EditAnywhere

int32

 

WarmupTickCount

Number of ticks to process for warmup. You can set by this or by time via WarmupTime.

Protected variable UProperty Category, EditAnywhere, Meta

float

 

WarmupTickDelta

Delta time to use for warmup ticks.

Protected variable UProperty Category, EditAnywhere, Meta

float

 

WarmupTime

Warm up time in seconds.

Constructors

Name Description

Public function

UNiagaraSystem

(
    const FObjectInitializer& ObjectIn...
)

Public function

UNiagaraSystem

(
    FVTableHelper& Helper
)

Destructors

Name Description

Public function

~UNiagaraSystem()

Functions

Name Description

Public function

FNiagaraEmit...

 

AddEmitterHandle

(
    UNiagaraEmitter& SourceEmitter,
    FName EmitterName,
    FGuid EmitterVersion
)

Adds a new emitter handle to this System.

Public function

void

 

AddEmitterHandleDirect

(
    FNiagaraEmitterHandle& EmitterHand...
)

Adds a new emitter handle to this system without copying the original asset.

Public function

void

 

AddMessage

(
    const FGuid& MessageKey,
    UNiagaraMessageDataBase* NewMe...
)

Public function Const

void

 

AddToInstanceCountStat

(
    int32 NumInstances,
    bool bSolo
)

Public function Const

bool

 

AllDIsPostSimulateCanOverlapFrames()

Public function Const

bool

 

AllowCullingForLocalPlayers()

Public function Const

bool

 

AllowScalabilityForLocalPlayerFX()

Public function

void

 

AsyncOptimizeAllScripts()

Public function

void

 

CacheFromCompiledData()

Cache data & accessors from the compiled data, allows us to avoid per instance.

Public function Const

bool

 

CanObtainEmitterAttribute

(
    const FNiagaraVariableBase& InVarW...,
    FNiagaraTypeDefinition& OutBoundTy...
)

Public function Const

bool

 

CanObtainSystemAttribute

(
    const FNiagaraVariableBase& InVar,
    FNiagaraTypeDefinition& OutBoundTy...
)

Public function Const

bool

 

CanObtainUserVariable

(
    const FNiagaraVariableBase& InVar
)

Public function Virtual

bool

 

ChangeEmitterVersion

(
    const FVersionedNiagaraEmitter& Em...,
    const FGuid& NewVersion
)

Public function

bool

 

ComputeEmitterPriority

(
    int32 EmitterIdx,
    TArray< int32, TInlineAllocator< 32...,
    const TBitArray< TInlineAllocator< ...
)

Computes emitter priorities based on the dependency information.

Public function

void

 

ComputeEmittersExecutionOrder()

Computes the order in which the emitters in the Emitters array will be ticked and stores the results in EmitterExecutionOrder.

Public function

void

 

ComputeRenderersDrawOrder()

Computes the order in which renderers will render

Public function Static

void

 

DeclareConstructClasses

(
    TArray< FTopLevelAssetPath >& OutC...,
    const UClass* SpecificSubclass
)

Public function

FNiagaraEmit...

 

DuplicateEmitterHandle

(
    const FNiagaraEmitterHandle& Emitt...,
    FName EmitterName
)

Duplicates an existing emitter handle and adds it to the System.

Public function Const

void

 

EnsureFullyLoaded()

Public function

void

 

FindDataInterfaceDependencies

(
    FVersionedNiagaraEmitterData* ...,
    UNiagaraScript* Script,
    TArray< FVersionedNiagaraEmitter > ...
)

Queries all the data interfaces in the array for emitter dependencies.

Public function

void

 

FindEventDependencies

Looks at all the event handlers in the emitter to determine which other emitters it depends on.

Public function

void

 

ForceGraphToRecompileOnNextCheck()

Public function

void

 

ForEachPlatformSet

(
    TAction Func
)

Performs the passed action for all FNiagaraPlatformSets used by this system.

Public function Const

void

 

ForEachScript

(
    TAction Func
)

Performs the passed action for all scripts in this system.

Public function Const

void

 

GatherStaticVariables

(
    TArray< FNiagaraVariable >& OutVar...,
    TArray< FNiagaraVariable >& OutEmi...
)

Protected function Const

void

 

GenerateStatID()

Public function

int32 &

 

GetActiveInstancesCount()

Public function Const

const FGuid ...

 

GetAssetGuid()

Public function Const

const UNiaga...

 

GetBakerGeneratedSettings()

Public function

UNiagaraBake...

 

GetBakerSettings()

Public function Const

const TShare...

 

GetCachedTraversalData()

Get the cached parameter map traversal for this emitter.

Public function Const

const FStrin...

 

GetCrashReporterTag()

Public function Const

ENiagaraCull...

 

GetCullProxyMode()

Public function Const

const FNiaga...

 

GetCurrentOverrideSettings()

Public function Const

const UNiaga...

 

GetEditorData()

Gets editor specific data stored with this system.

Public function

UNiagaraEdit...

 

GetEditorData()

Gets editor specific data stored with this system.

Public function

UNiagaraEdit...

 

GetEditorParameters()

Gets editor specific parameters stored with this system

Public function Const

UNiagaraEffe...

 

GetEffectType()

Public function Const

const TArray...

 

GetEmitterCompiledData()

Public function Const

TConstArrayV...

 

GetEmitterExecutionOrder()

Public function Const

TConstArrayV...

 

GetEmitterExecutionStateAccessors()

Public function

FNiagaraEmit...

 

GetEmitterHandle

(
    int Idx
)

Public function Const

const FNiaga...

 

GetEmitterHandle

(
    int Idx
)

Public function

TArray< FNia...

 

GetEmitterHandles()

Gets an array of the emitter handles.

Public function Const

const TArray...

 

GetEmitterHandles()

Gets an array of the emitter handles.

Public function Const

TConstArrayV...

 

GetEmitterSpawnInfoAccessors

(
    int32 EmitterIndex
)

Public function Const

const FNiaga...

 

GetExposedParameters()

From the last compile, what are the variables that were exported out of the system for external use?

Public function

FNiagaraUser...

 

GetExposedParameters()

Public function Const

FBox

 

GetFixedBounds()

Public function Const

float

 

GetFixedTickDeltaTime()

Public function Const

bool

 

GetIsolateEnabled()

Public function Const

TOptional< f...

 

GetMaxDeltaTime()

Public function Const

const TMap< ...

 

GetMessages()

Public function

int

 

GetNumEmitters()

Public function Const

bool

 

GetOverrideScalabilitySettings()

Public function

UNiagaraPara...

 

GetParameterCollectionOverride

(
    UNiagaraParameterCollection* C...
)

Public function Const

int32

 

GetRandomSeed()

Public function Const

TConstArrayV...

 

GetRendererCompletionOrder()

Public function Const

TConstArrayV...

 

GetRendererDrawOrder()

Public function Const

TConstArrayV...

 

GetRendererPostTickOrder()

Public function

FNiagaraSyst...

 

GetScalabilityOverrides()

Public function Const

const FNiaga...

 

GetScalabilitySettings()

Public function

FGraphEventR...

 

GetScriptOptimizationCompletionEvent()

Public function Const

const FNiaga...

 

GetStaticBuffers()

Public function Const

TStatId

 

GetStatID

(
    bool bGameThread,
    bool bConcurrent
)

Public function Const

const FNiaga...

 

GetSystemCompiledData()

Public function Const

const FNiaga...

 

GetSystemExecutionStateAccessor()

Public function

FNiagaraSyst...

 

GetSystemScalabilityOverrides()

Public function Const

const UNiaga...

 

GetSystemSpawnScript()

Public function

UNiagaraScri...

 

GetSystemSpawnScript()

Gets the System script which is used to populate the System parameters and parameter bindings.

Public function Const

const UNiaga...

 

GetSystemUpdateScript()

Public function

UNiagaraScri...

 

GetSystemUpdateScript()

Public function Const

const TArray...

 

GetUserDINamesReadInSystemScripts()

Public function Const

int32

 

GetWarmupTickCount()

Public function Const

float

 

GetWarmupTickDelta()

Public function Const

float

 

GetWarmupTime()

Public function

void

 

GraphSourceChanged()

Public function

void

 

HandleVariableRemoved

(
    const FNiagaraVariable& InOldVaria...,
    bool bUpdateContexts
)

Helper method to handle when an internal variable has been removed.

Public function

void

 

HandleVariableRenamed

(
    const FNiagaraVariable& InOldVaria...,
    const FNiagaraVariable& InNewVaria...,
    bool bUpdateContexts
)

Helper method to handle when an internal variable has been renamed.

Public function Const

bool

 

HasAnyGPUEmitters()

Public function Const

bool

 

HasDIsWithPostSimulateTick()

Public function Const

bool

 

HasFixedTickDelta()

Public function Const

bool

 

HasOutstandingCompilationRequests

(
    bool bIncludingGPUShaders
)

Are there any pending compile requests?

Public function Const

bool

 

HasSystemScriptDIsWithPerInstanceData()

Public function

void

 

InvalidateActiveCompiles()

Invalidates any active compilation requests which will ignore their results.

Public function

void

 

InvalidateCachedData()

Public function Const

bool

 

IsLooping()

Public function Const

bool

 

IsReadyToRun()

Public function Const

bool

 

IsValid()

Returns true if this system is valid and can be instanced. False otherwise.

Public function

void

 

KillAllActiveCompilations()

Tries to abort all running shader compilations

Public function Const

bool

 

NeedsDeterminism()

Public function Const

bool

 

NeedsGPUContextInitForDataInterfaces()

Public function Const

bool

 

NeedsRequestCompile()

Public function Const

bool

 

NeedsSortedSignificanceCull()

Public function Const

bool

 

NeedsWarmup()

Public function

void

 

OnCompiledDataInterfaceChanged()

Updates any post compile data based upon data interfaces.

Public function

FOnScalabili...

 

OnScalabilityChanged()

Delegate called on effect type or effect type value change

Public function

FOnSystemCom...

 

OnSystemCompiled()

Delegate called when the system's dependencies have all been compiled.

Public function

FOnSystemPos...

 

OnSystemPostEditChange()

Delegate called on PostEditChange.

Public function

bool

 

PollForCompilationComplete

(
    bool bFlushRequestCompile
)

If we have a pending compile request, is it done with yet?

Public function

void

 

PrecachePSOs()

Public function

void

 

PrepareRapidIterationParametersForCompilation()

Updates the rapid iteration parameters for all scripts referenced by the system.

Public function Static

void

 

RecomputeExecutionOrderForDataInterface

(
    UNiagaraDataInterface* DataInt...
)

Public function Static

void

 

RecomputeExecutionOrderForEmitter

(
    const FVersionedNiagaraEmitter& In...
)

Public function Const

bool

 

ReferencesInstanceEmitter

(
    const FVersionedNiagaraEmitter& Em...
)

Determines if this system has the supplied emitter as an editable and simulating emitter instance.

Public function

void

 

RefreshSystemParametersFromEmitter

(
    const FNiagaraEmitterHandle& Emitt...
)

Updates the system's rapid iteration parameters from a specific emitter.

Public function

void

 

RegisterActiveInstance()

Public function

void

 

RegisterDataChannelUse

(
    const UNiagaraDataChannel* Dat...
)

Registers that this System uses the passed DI.

Public function

void

 

RemoveEmitterHandle

(
    const FNiagaraEmitterHandle& Emitt...
)

Removes the provided emitter handle.

Public function

void

 

RemoveEmitterHandlesById

(
    const TSet< FGuid >& HandlesToRemo...
)

Removes the emitter handles which have an Id in the supplied set.

Public function

void

 

RemoveMessage

(
    const FGuid& MessageKey
)

Public function

void

 

RemoveMessageDelegateable

(
    const FGuid MessageKey
)

Public function

void

 

RemoveSystemParametersForEmitter

(
    const FNiagaraEmitterHandle& Emitt...
)

Removes the system's rapid iteration parameters for a specific emitter.

Public function

bool

 

RequestCompile

(
    bool bForce,
    FNiagaraSystemUpdateContext* O...
)

Request that any dirty scripts referenced by this system be compiled.

Public function Static

void

 

RequestCompileForEmitter

(
    const FVersionedNiagaraEmitter& In...
)

Public function

void

 

ResetToEmptySystem()

Resets internal data leaving it in a state which would have minimal cost to exist in headless builds (servers)

Public function

void

 

ResolveWarmupTickCount()

Public function

void

 

SetBakeOutRapidIterationOnCook

(
    bool bBakeOut
)

Public function

void

 

SetBakerGeneratedSettings

(
    UNiagaraBakerSettings* Setting...
)

Public function

void

 

SetEffectType

(
    UNiagaraEffectType* EffectType
)

Public function

void

 

SetFixedBounds

(
    const FBox& Box
)

Public function

void

 

SetIsolateEnabled

(
    bool bIsolate
)

Public function

void

 

SetOverrideScalabilitySettings

(
    bool bOverride
)

Public function

void

 

SetTrimAttributesOnCook

(
    bool bTrim
)

Public function

void

 

SetWarmupTickDelta

(
    float InWarmupTickDelta
)

Public function

void

 

SetWarmupTime

(
    float InWarmupTime
)

Public function Const

bool

 

ShouldAutoDeactivate()

Public function Const

bool

 

ShouldCompressAttributes()

Public function Const

bool

 

ShouldDisableDebugSwitches()

Public function Const

bool

 

ShouldDisableExperimentalVM()

Public function Const

bool

 

ShouldIgnoreParticleReadsForAttributeTrim()

Public function Const

bool

 

ShouldTrimAttributes()

Public function Const

bool

 

ShouldUseRapidIterationParameters()

Public function Const

bool

 

SupportsLargeWorldCoordinates()

Public function

void

 

UnregisterActiveInstance()

Public function

void

 

UpdateScalability()

Public function

void

 

UpdateSystemAfterLoad()

Public function Const

bool

 

UsesCollection

(
    const UNiagaraParameterCollection&...
)

Public function Const

bool

 

UsesEmitter

(
    const FVersionedNiagaraEmitter& Ve...
)

Public function Const

bool

 

UsesEmitter

(
    UNiagaraEmitter* Emitter
)

Public function Const

bool

 

UsesScript

(
    const UNiagaraScript* Script
)

Public function

void

 

WaitForCompilationComplete

(
    bool bIncludingGPUShaders,
    bool bShowProgress
)

Blocks until all active compile jobs have finished

Overridden from UObject

Name Description

Public function Virtual

void

 

BeginCacheForCookedPlatformData

(
    const ITargetPlatform* TargetP...
)

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

Public function Virtual

void

 

BeginDestroy()

Called before destroying the object.

Public function Virtual Const

void

 

GetAssetRegistryTags

(
    TArray< FAssetRegistryTag >& OutTa...
)

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

Public function Virtual

bool

 

IsCachedCookedPlatformDataLoaded

(
    const ITargetPlatform* TargetP...
)

Have we finished loading all the cooked platform data for the target platforms requested in BeginCacheForCookedPlatformData

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Public function Virtual

void

 

PostInitProperties()

Called after the C++ constructor and after the properties have been initialized, including those loaded from config.

Public function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.

Public function Virtual

void

 

PreEditChange

(
    FProperty* PropertyAboutToChan...
)

This is called when a property is about to be modified externally

Public function Virtual

void

 

PreSave

(
    FObjectPreSaveContext SaveContext
)

Presave function.

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Handles reading, writing, and reference collecting using FArchive.

Overridden from INiagaraParameterDefinitionsSubscriber

Name Description

Public function Virtual

TArray< UNia...

 

GetAllSourceScripts()

Get all UNiagaraScriptSourceBase of this subscriber.

Public function Virtual

TArray< UNia...

 

GetEditorOnlyParametersAdapters()

Get All adapters to editor only script vars owned directly by this subscriber.

Public function Virtual

TArray< INia...

 

GetOwnedParameterDefinitionsSubscribers()

Get all subscribers that are owned by this subscriber.

Public function Virtual

TArray< FPar...

 

GetParameterDefinitionsSubscriptions()

Public function Virtual Const

const TArray...

 

GetParameterDefinitionsSubscriptions()

Public function Virtual Const

FString

 

GetSourceObjectPathName()

Get the path to the UObject of this subscriber.

Classes

Name

Description

Protected struct

FStaticBuffersDeletor

Typedefs

Constants

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.

Deprecated Variables

Name Description

Public variable UProperty

bool

 

bExposeToLibrary_DEPRECATED

Deprecated library exposure bool.

Public variable UProperty

bool

 

bIsTemplateAsset_DEPRECATED

Deprecated template asset bool. Use the TemplateSpecification enum instead.

Protected variable UProperty

TArray< FNiagar...

 

ScalabilityOverrides_DEPRECATED

Deprecated Functions

Name Description

Public function Virtual

PRAGMA_DISAB...

 

PreSave

(
    const ITargetPlatform* TargetP...
)

Use version that takes FObjectPreSaveContext instead.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Cancel