Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraEmitter.h |
Include |
#include "NiagaraEmitter.h" |
UCLASS(MinimalAPI)
class UNiagaraEmitter :
public UObject,
public INiagaraParameterDefinitionsSubscriber
UNiagaraEmitter stores the attributes of an FNiagaraEmitterInstance that need to be serialized and are used for its initialization
Name | Description | ||
---|---|---|---|
|
AllocationMode |
The emitter needs to allocate memory for the particles each tick. |
|
|
AttributesToPreserve |
An allow list of Particle attributes (e.g. "Particle.Position" or "Particle.Age") that will not be removed from the DataSet even if they aren't read by the VM. |
|
|
uint32: 1 |
bBakeOutRapidIteration |
Should we enable rapid iteration removal if the system is also set to remove rapid iteration parameters on compile? This value defaults to true. |
|
uint32: 1 |
bCombineEventSpawn |
Performance option to allow event based spawning to be combined into a single spawn. |
|
bDeterminism |
Toggles whether to globally make the random number generator be deterministic or non-deterministic. |
|
|
uint32: 1 |
bFixedBounds |
Whether or not fixed bounds are enabled. |
|
uint32: 1 |
bInterpolatedSpawning |
When enabled, this will spawn using interpolated parameter values and perform a partial update at spawn time. |
|
uint32: 1 |
bLimitDeltaTime |
Whether to limit the max tick delta time or not. |
|
bLocalSpace |
Toggles whether or not the particles within this emitter are relative to the emitter origin or in global space. |
|
|
uint32: 1 |
bRequiresPersistentIDs |
Do particles in this emitter require a persistent ID? |
|
Category |
Category to collate this emitter into for "add new emitter" dialogs. |
|
|
EmitterSpawnScriptProps |
||
|
EmitterUpdateScriptProps |
||
|
FixedBounds |
The fixed bounding box value. bFixedBounds is the condition whether the fixed bounds can be edited. |
|
|
TObjectPtr< cla... |
GraphSource |
'Source' data/graphs for the scripts used by this emitter. |
|
LibraryVisibility |
If this emitter is exposed to the library, or should be explicitly hidden. |
|
|
float |
MaxDeltaTimePerTick |
Limits the delta time per tick to prevent simulation spikes due to frame lags. |
|
MaxGPUParticlesSpawnPerFrame |
An override on the max number of GPU particles we expect to spawn in a single frame. |
|
|
ParentScratchPadScripts |
||
|
Platforms |
||
|
PreAllocationCount |
The emitter will allocate at least this many particles on it's first tick. |
|
|
RandomSeed |
An emitter-based seed for the deterministic random number generator. |
|
|
RendererBindings |
||
|
ScalabilityOverrides |
||
|
ScratchPadScripts |
||
|
SimTarget |
||
|
SpawnScriptProps |
||
|
TemplateAssetDescription |
||
|
TemplateSpecification |
If this emitter is a standard parent emitter, a template or a behavior example. |
|
|
TObjectPtr< cla... |
ThumbnailImage |
Internal: The thumbnail image. |
|
uint32: 1 |
ThumbnailImageOutOfDate |
Internal: Indicates the thumbnail image is out of date. |
|
UpdateScriptProps |
Name | Description | |
---|---|---|
|
UNiagaraEmitter ( |
Name | Description | ||
---|---|---|---|
|
AddEventHandler ( |
||
|
AddMessage ( |
||
|
AddRenderer ( |
||
|
AddRuntimeAllocation |
This is used by the emitter instances to report runtime allocations to reduce reallocation in future simulation runs. |
|
|
AddSimulationStage ( |
||
|
AreAllScriptAndSourcesSynchronized() |
||
|
BindNotifications() |
Helper method for binding the notifications needed for proper editor integration. |
|
|
CacheFromCompiledData ( |
||
|
CacheFromShaderCompiled() |
||
|
CanObtainEmitterAttribute ( |
||
|
CanObtainParticleAttribute ( |
||
|
CanObtainSystemAttribute ( |
||
|
CanObtainUserVariable ( |
||
|
ClearRuntimeAllocationEstimate ( |
||
|
UNiagaraEmit... |
CreateAsDuplicate ( |
Creates a new emitter by duplicating an existing emitter. |
|
UNiagaraEmit... |
CreateWithParentAndOwner ( |
Creates a new emitter with the supplied emitter as a parent emitter and the supplied system as its owner. |
|
UNiagaraEmit... |
DuplicateWithoutMerging ( |
Duplicates this emitter, but prevents the duplicate from merging in changes from the parent emitter. |
|
ForEachEnabledRenderer ( |
||
|
ForEachScript ( |
||
|
GatherStaticVariables ( |
||
|
TConstArrayV... |
GetBoundsCalculators() |
|
|
const TShare... |
GetCachedTraversalData() |
Get the cached parameter map traversal for this emitter. |
|
GetChangeId() |
Gets a Guid which is updated any time data in this emitter is changed. |
|
|
const TCHAR ... |
GetDebugSimName() |
|
|
UNiagaraEdit... |
GetEditorData() |
|
|
UNiagaraEdit... |
GetEditorParameters() |
|
|
FNiagaraEven... |
GetEventHandlerByIdUnsafe ( |
Gets a pointer to an event handler by script usage id. |
|
const TArray... |
GetEventHandlers() |
|
|
GetForceCompileOnLoad() |
||
|
const UNiaga... |
GetGPUComputeScript() |
|
|
UNiagaraScri... |
GetGPUComputeScript() |
|
|
GetMaxAllocationCount() |
Returns the maximum size we can allocate and hold for instances |
|
|
GetMaxInstanceCount() |
||
|
GetMaxParticleCountEstimate() |
Returns the number of max expected particles for memory allocations. |
|
|
const TMap< ... |
GetMessages() |
|
|
UNiagaraEmit... |
GetParent() |
|
|
UNiagaraEmit... |
GetParentAtLastMerge() |
|
|
const TArray... |
GetRenderers() |
|
|
const FNiaga... |
GetScalabilitySettings() |
|
|
UNiagaraScri... |
GetScript ( |
|
|
GetScripts ( |
||
|
UNiagaraSimu... |
GetSimulationStageById ( |
|
|
const TArray... |
GetSimulationStages() |
|
|
GetStatID |
||
|
const FStrin... |
GetUniqueEmitterName() |
|
|
HandleVariableRemoved ( |
Helper method for when a rename has been detected within the graph. |
|
|
HandleVariableRenamed ( |
Helper method for when a rename has been detected within the graph. |
|
|
InvalidateCompileResults() |
||
|
IsAllowedByScalability() |
Returns true if this emitter's platform filter allows it on this platform and quality level. |
|
|
IsEnabledOnPlatform ( |
||
|
IsEventGeneratorShared ( |
Gets whether or not the supplied event generator id matches an event generator which is shared between the particle spawn and update scrips. |
|
|
IsReadyToRun() |
||
|
IsSynchronizedWithParent() |
Whether or not this emitter is synchronized with its parent emitter. |
|
|
IsValid() |
||
|
INiagaraMerg... |
MergeChangesFromParent() |
Merges in any changes from the parent emitter into this emitter. |
|
MoveSimulationStageToIndex ( |
||
|
NeedsLoadForTargetPlatform ( |
||
|
NotifyScratchPadScriptsChanged() |
||
|
FOnEmitterCo... |
OnEmitterGPUCompiled() |
Callback issued whenever a VM compilation successfully happened (even if the results are a script that cannot be executed due to errors) |
|
FOnEmitterCo... |
OnEmitterVMCompiled() |
Callback issued whenever a VM compilation successfully happened (even if the results are a script that cannot be executed due to errors) |
|
FOnEmitterCo... |
OnGPUCompilationComplete() |
Callback issued whenever a GPU compilation successfully happened (even if the results are a script that cannot be executed due to errors) |
|
OnPostCompile() |
||
|
FOnPropertie... |
OnPropertiesChanged() |
|
|
FOnRenderers... |
OnRenderersChanged() |
|
|
OnScalabilityCVarChanged() |
||
|
RebuildRendererBindings() |
||
|
RemoveEventHandlerByUsageId ( |
||
|
RemoveMessage ( |
||
|
RemoveMessageDelegateable ( |
||
|
RemoveParent() |
||
|
RemoveRenderer ( |
||
|
RemoveSimulationStage ( |
||
|
NIAGARA_API ... |
Reparent ( |
|
|
RequiresPersistentIDs() |
||
|
RequiresViewUniformBuffer() |
||
|
ResolveScalabilitySettings() |
||
|
SetEditorData ( |
||
|
SetParent ( |
||
|
SetUniqueEmitterName ( |
||
|
UpdateEmitterAfterLoad() |
||
|
UsesCollection ( |
Bool UsesDataInterface(UNiagaraDataInterface* Interface); |
|
|
UsesEmitter ( |
Whether or not this emitter uses the supplied emitter |
|
|
UsesScript ( |
Name | Description | ||
---|---|---|---|
|
BeginDestroy() |
Called before destroying the object. |
|
|
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 |
|
|
IsEditorOnly() |
Called during saving to determine if the object is forced to be editor only or not |
|
|
PostDuplicate ( |
||
|
PostEditChangeProperty ( |
Called when a property on this object has been modified externally |
|
|
PostInitProperties() |
Called after the C++ constructor and after the properties have been initialized, including those loaded from config. |
|
|
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |
|
|
PostRename |
Called at the end of Rename(), but only if the rename was actually carried out |
|
|
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. |
|
|
const TArray... |
GetParameterDefinitionsSubscriptions() |
|
|
GetParameterDefinitionsSubscriptions() |
||
|
GetSourceObjectPathName() |
Get the path to the UObject of this subscriber. |
Name |
Description |
|
---|---|---|
|
PrivateMemberNames |
Name |
Description |
---|---|
FOnEmitterCompiled |
|
FOnPropertiesChanged |
|
FOnRenderersChanged |
Name | Description | ||
---|---|---|---|
|
bExposeToLibrary_DEPRECATED |
Deprecated library exposure bool. |
|
|
bIsTemplateAsset_DEPRECATED |
Deprecated template asset bool. Use the TemplateSpecification enum instead. |
|
|
uint32: 1 |
bOverrideGlobalSpawnCountScale_DEPRECATED |
Legacy bool to control overriding the global spawn count scales. |
|
uint32: 1 |
bUseMaxDetailLevel_DEPRECATED |
Whether to use the min detail or not. |
|
uint32: 1 |
bUseMinDetailLevel_DEPRECATED |
Whether to use the min detail or not. |
|
GlobalSpawnCountScaleOverrides_DEPRECATED |
||
|
MaxDetailLevel_DEPRECATED |
||
|
MinDetailLevel_DEPRECATED |
Name | Description | ||
---|---|---|---|
|
PreSave ( |
Use version that takes FObjectPreSaveContext instead. |