| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraEmitter.h |
Include |
#include "NiagaraEmitter.h" |
UCLASS(MinimalAPI)
class UNiagaraEmitter :
public UObject,
public INiagaraParameterDefinitionsSubscriber,
public FNiagaraVersionedObject
Niagara Emitters are particle spawners that can be reused for different effects by putting them into Niagara Systems. Emitters render their particles using different renderers, such as Sprite Renderers or Mesh Renderers to produce different effects.
Name | Description | ||
---|---|---|---|
|
Category |
Category to collate this emitter into for "add new emitter" dialogs. |
|
|
LibraryVisibility |
If this emitter is exposed to the library, or should be explicitly hidden. |
|
|
TemplateAssetDescription |
||
|
TemplateSpecification |
||
|
TObjectPtr< UTe... |
ThumbnailImage |
Internal: The thumbnail image. |
|
VersionToOpenInEditor |
This is used as a transient value to open a specific version in the editor |
Name | Description | |
---|---|---|
|
UNiagaraEmitter ( |
Name | Description | ||
---|---|---|---|
|
void |
AddEventHandler ( |
|
|
void |
AddMessage ( |
|
|
void |
AddRenderer ( |
|
|
void |
AddSimulationStage ( |
|
|
bool |
CanObtainEmitterAttribute ( |
|
|
bool |
CanObtainParticleAttribute ( |
|
|
bool |
CanObtainSystemAttribute ( |
|
|
bool |
CanObtainUserVariable ( |
|
|
void |
ChangeParentVersion |
|
|
void |
CheckVersionDataAvailable() |
Makes sure that the default version data is available and fixes old emitter assets. |
|
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. |
|
void |
DeclareConstructClasses ( |
|
|
UNiagaraEmit... |
DuplicateWithoutMerging ( |
Duplicates this emitter, but prevents the duplicate from merging in changes from the parent emitter. |
|
void |
ForEachVersionData ( |
|
|
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 FVersi... |
GetEmitterData ( |
Returns the emitter data for a specific version or nullptr if no such version is found. |
|
FVersionedNi... |
GetEmitterData ( |
Returns the emitter data for a specific version or nullptr if no such version is found. |
|
bool |
GetForceCompileOnLoad() |
|
|
const FVersi... |
GetLatestEmitterData() |
Returns the emitter data for latest exposed version. |
|
FVersionedNi... |
GetLatestEmitterData() |
Returns the emitter data for latest exposed version. |
|
const TMap< ... |
GetMessages() |
|
|
GetStatID ( |
||
|
const FStrin... |
GetUniqueEmitterName() |
|
|
void |
HandleVariableRemoved ( |
Helper method for when a rename has been detected within the graph. |
|
void |
HandleVariableRenamed ( |
Helper method for when a rename has been detected within the graph. |
|
bool |
IsEnabledOnPlatform ( |
|
|
bool |
IsSynchronizedWithParent() |
Whether or not this emitter is synchronized with its parent emitter. |
|
MergeChangesFromParent() |
Merges in any changes from the parent emitter into this emitter. |
|
|
void |
MoveRenderer ( |
|
|
void |
MoveSimulationStageToIndex ( |
|
|
bool |
NeedsLoadForTargetPlatform ( |
|
|
void |
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) |
|
void |
OnPostCompile ( |
|
|
FOnPropertie... |
OnPropertiesChanged() |
|
|
FOnRenderers... |
OnRenderersChanged() |
|
|
void |
PostEditChangeVersionedProperty ( |
|
|
void |
RebindNotifications() |
Helper method for binding the notifications needed for proper editor integration. |
|
void |
RemoveEventHandlerByUsageId |
|
|
void |
RemoveMessage ( |
|
|
void |
RemoveMessageDelegateable ( |
|
|
void |
RemoveRenderer ( |
|
|
void |
RemoveSimulationStage ( |
|
|
void |
SetEditorData ( |
|
|
void |
SetParent ( |
|
|
bool |
SetUniqueEmitterName ( |
|
|
void |
UpdateEmitterAfterLoad() |
|
|
void |
UpdateScalability() |
Name | Description | ||
---|---|---|---|
|
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 |
IsEditorOnly() |
Called during saving to determine if the object is forced to be editor only or not |
|
void |
PostDuplicate ( |
|
|
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 |
PostRename |
Called at the end of Rename(), but only if the rename was actually carried out |
|
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. |
|
|
const TArray... |
GetParameterDefinitionsSubscriptions() |
|
|
GetParameterDefinitionsSubscriptions() |
||
|
GetSourceObjectPathName() |
Get the path to the UObject of this subscriber. |
Name | Description | ||
---|---|---|---|
|
AddNewVersion ( |
Creates a new data entry for the given version number. |
|
|
void |
DeleteVersion ( |
Deletes the version data for an existing version. |
|
void |
DisableVersioning ( |
Disables versioning and keeps only the data from the given version guid. |
|
void |
EnableVersioning() |
Enables versioning for this emitter asset. |
|
void |
ExposeVersion ( |
Changes the exposed version. Does nothing if the guid does not exist in the version data. |
|
FNiagaraAsse... |
FindVersionData ( |
Returns the version data for the given guid, if it exists. Otherwise returns nullptr. |
|
GetAllAvailableVersions() |
Returns all available versions for this emitter. |
|
|
FNiagaraAsse... |
GetExposedVersion() |
Returns the version of the exposed version data (i.e. the version used when adding an emitter to a system) |
|
TSharedPtr< ... |
GetVersionDataAccessor ( |
|
|
bool |
IsVersioningEnabled() |
If true then this script asset uses active version control to track changes. |
Name |
Description |
|
---|---|---|
|
PrivateMemberNames |
Name |
Description |
---|---|
FOnEmitterCompiled |
|
FOnPropertiesChanged |
|
FOnRenderersChanged |
Name |
Description |
---|---|
EmitterMergeMessageId |
Name | Description | ||
---|---|---|---|
|
AllocationMode_DEPRECATED |
Use property in struct returned from GetEmitterData() instead |
|
|
AttributesToPreserve_DEPRECATED |
Use property in struct returned from GetEmitterData() instead |
|
|
uint32: 1 |
bCombineEventSpawn_DEPRECATED |
Use property in struct returned from GetEmitterData() instead |
|
bool |
bDeterminism_DEPRECATED |
Use property in struct returned from GetEmitterData() instead |
|
bool |
bExposeToLibrary_DEPRECATED |
Deprecated library exposure bool. |
|
uint32: 1 |
bFixedBounds_DEPRECATED |
Use property in struct returned from GetEmitterData() instead |
|
uint32: 1 |
bInterpolatedSpawning_DEPRECATED |
Use property in struct returned from GetEmitterData() instead |
|
bool |
bIsTemplateAsset_DEPRECATED |
Deprecated template asset bool. Use the TemplateSpecification enum instead. |
|
uint32: 1 |
bLimitDeltaTime_DEPRECATED |
Use property in struct returned from GetEmitterData() instead |
|
bool |
bLocalSpace_DEPRECATED |
------------ Most properties below this point are deprecated and stored in the versioned emitter data instead! ------------------------------------------------------------------------------------------ |
|
uint32: 1 |
bOverrideGlobalSpawnCountScale_DEPRECATED |
Legacy bool to control overriding the global spawn count scales. |
|
uint32: 1 |
bRequiresPersistentIDs_DEPRECATED |
Use property in struct returned from GetEmitterData() instead |
|
uint32: 1 |
bUseMaxDetailLevel_DEPRECATED |
Whether to use the min detail or not. |
|
uint32: 1 |
bUseMinDetailLevel_DEPRECATED |
Whether to use the min detail or not. |
|
EmitterSpawnScriptProps_DEPRECATED |
Use property in struct returned from GetEmitterData() instead |
|
|
EmitterUpdateScriptProps_DEPRECATED |
Use property in struct returned from GetEmitterData() instead |
|
|
FBox |
FixedBounds_DEPRECATED |
Use property in struct returned from GetEmitterData() instead |
|
GlobalSpawnCountScaleOverrides_DEPRECATED |
||
|
TObjectPtr< UNi... |
GraphSource_DEPRECATED |
Use property in struct returned from GetEmitterData() instead |
|
float |
MaxDeltaTimePerTick_DEPRECATED |
Use property in struct returned from GetEmitterData() instead |
|
int32 |
MaxDetailLevel_DEPRECATED |
|
|
uint32 |
MaxGPUParticlesSpawnPerFrame_DEPRECATED |
Use property in struct returned from GetEmitterData() instead |
|
int32 |
MinDetailLevel_DEPRECATED |
|
|
ParentScratchPadScripts_DEPRECATED |
Use property in struct returned from GetEmitterData() instead |
|
|
Platforms_DEPRECATED |
Use property in struct returned from GetEmitterData() instead |
|
|
int32 |
PreAllocationCount_DEPRECATED |
Use property in struct returned from GetEmitterData() instead |
|
int32 |
RandomSeed_DEPRECATED |
Use property in struct returned from GetEmitterData() instead |
|
RendererBindings_DEPRECATED |
||
|
ScalabilityOverrides_DEPRECATED |
Use property in struct returned from GetEmitterData() instead |
|
|
ScratchPadScripts_DEPRECATED |
Use property in struct returned from GetEmitterData() instead |
|
|
SimTarget_DEPRECATED |
Use property in struct returned from GetEmitterData() instead |
|
|
SpawnScriptProps_DEPRECATED |
Use property in struct returned from GetEmitterData() instead |
|
|
UpdateScriptProps_DEPRECATED |
Use property in struct returned from GetEmitterData() instead |
Name | Description | ||
---|---|---|---|
|
PRAGMA_DISAB... |
PreSave ( |
Use version that takes FObjectPreSaveContext instead. |