Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraComponent.h |
Include |
#include "NiagaraComponent.h" |
UCLASS(ClassGroup=(Rendering, Common), HideCategories=Object, HideCategories=Physics,
HideCategories=Collision, ShowCategories=Trigger, EditInlineNew,
Meta=(BlueprintSpawnableComponent, DisplayName="Niagara Particle System Component"))
class UNiagaraComponent : public UFXSystemComponent
UNiagaraComponent is the primitive component for a Niagara System.
Name | Description | ||
---|---|---|---|
|
AutoAttachLocationRule |
Options for how we handle our location when we attach to the AutoAttachParent, if bAutoManageAttachment is true. |
|
|
TWeakObjectPtr<... |
AutoAttachParent |
Component we automatically attach to when activated, if bAutoManageAttachment is true. |
|
AutoAttachRotationRule |
Options for how we handle our rotation when we attach to the AutoAttachParent, if bAutoManageAttachment is true. |
|
|
AutoAttachScaleRule |
Options for how we handle our scale when we attach to the AutoAttachParent, if bAutoManageAttachment is true. |
|
|
AutoAttachSocketName |
Socket we automatically attach to on the AutoAttachParent, if bAutoManageAttachment is true. |
|
|
uint32: 1 |
bAutoAttachWeldSimulatedBodies |
Option for how we handle bWeldSimulatedBodies when we attach to the AutoAttachParent, if bAutoManageAttachment is true. |
|
uint32: 1 |
bAutoManageAttachment |
True if we should automatically attach to AutoAttachParent when activated, and detach from our parent when completed. |
|
uint32: 1 |
bEnablePreviewLODDistance |
|
|
uint32: 1 |
bWaitForCompilationOnActivate |
|
|
DebugCachedScalabilityState |
Cache our scalability state in the component so we have access to it easily and also after it has been removed from the scalability manager. |
|
|
float |
MaxTimeBeforeForceUpdateTransform |
Time between forced UpdateTransforms for systems that use dynamically calculated bounds, Which is effectively how often the bounds are shrunk. |
|
OnSystemFinished |
Called when the particle system is done. |
|
|
PoolingMethod |
How to handle pooling for this component instance. |
|
|
float |
PreviewLODDistance |
|
|
float |
PreviewMaxDistance |
Name | Description | |
---|---|---|
|
UNiagaraComponent ( |
Name | Description | ||
---|---|---|---|
|
AdvanceSimulation ( |
Advances this system's simulation by the specified number of ticks and delta time. |
|
|
AdvanceSimulationByTime ( |
Advances this system's simulation by the specified time in seconds and delta time. |
|
|
BeginUpdateContextReset() |
||
|
ClearEmitterFixedBounds ( |
Clear any previously set fixed bounds for the emitter instance. |
|
|
ClearSystemFixedBounds() |
Clear any previously set fixed bounds for the system instance. |
|
|
DestroyInstance() |
||
|
EndUpdateContextReset() |
||
|
EnsureOverrideParametersConsistent() |
||
|
FNiagaraVari... |
FindParameterOverride ( |
Find the value of an overridden parameter. |
|
ENiagaraAgeU... |
GetAgeUpdateMode() |
|
|
GetAllowScalability() |
||
|
UNiagaraSyst... |
GetAsset() |
|
|
FNiagaraVari... |
GetCurrentParameterValue ( |
Gets the current value of a parameter which is being used by the simulation. |
|
float |
GetCustomTimeDilation() |
|
|
float |
GetDesiredAge() |
Gets the desired age of the System instance. |
|
GetEmitterFixedBounds ( |
Gets the fixed bounds for an emitter instance. |
|
|
ENiagaraExec... |
GetExecutionState() |
|
|
GetForceLocalPlayerEffect() |
||
|
GetForceSolo() |
||
|
GetLockDesiredAgeDeltaTimeToSeekDelta() |
Gets whether or not the delta time used to tick the system instance when using desired age is locked to the seek delta. |
|
|
float |
GetMaxSimTime() |
Get the maximum CPU time in seconds we will simulate to the desired age, when we go beyond this limit ticks will be processed in the next frame. |
|
GetNiagaraParticlePositions_DebugOnly ( |
Debug accessors for getting positions in blueprints. |
|
|
TArray< floa... |
GetNiagaraParticleValues_DebugOnly |
Debug accessors for getting a float attribute array in blueprints. |
|
GetNiagaraParticleValueVec3_DebugOnly |
Debug accessors for getting a FVector attribute array in blueprints. |
|
|
FNiagaraUser... |
GetOverrideParameters() |
|
|
const FNiaga... |
GetOverrideParameters() |
|
|
FParticlePer... |
GetPerfStatsContext() |
|
|
float |
GetPreviewLODDistance() |
|
|
GetPreviewLODDistanceEnabled() |
||
|
GetRandomSeedOffset() |
||
|
GetRenderingEnabled() |
Gets whether or not rendering is enabled for this component. |
|
|
ENiagaraExec... |
GetRequestedExecutionState() |
|
|
float |
GetSafeTimeSinceRendered ( |
|
|
GetScalabilityManagerHandle() |
||
|
float |
GetSeekDelta() |
Gets the delta value which is used when seeking from the current age, to the desired age. |
|
GetSystemFixedBounds() |
Gets the fixed bounds for the system instance. |
|
|
FNiagaraSyst... |
GetSystemInstanceController() |
|
|
FNiagaraSyst... |
GetSystemInstanceController() |
|
|
ENiagaraTick... |
GetTickBehavior() |
|
|
HasParameterOverride ( |
||
|
InitForPerformanceBaseline() |
Initializes this component for capturing a performance baseline. |
|
|
InitializeSystem() |
||
|
IsComplete() |
||
|
IsLocalPlayerEffect() |
Is this an effect on or linked to the local player. |
|
|
IsPaused() |
||
|
IsRegisteredWithScalabilityManager() |
||
|
IsUsingCullProxy() |
||
|
IsWorldReadyToRun() |
||
|
OnPooledReuse ( |
||
|
FOnSynchroni... |
OnSynchronizedWithAssetParameters() |
|
|
FOnSystemIns... |
OnSystemInstanceChanged() |
|
|
PostLoadNormalizeOverrideNames() |
||
|
ReinitializeSystem() |
Called on when an external object wishes to force this System to reinitialize itself from the System data. |
|
|
RemoveParameterOverride ( |
Remove an override for a given parameter if one exists. |
|
|
ResetSystem() |
Resets the System to it's initial pre-simulated state. |
|
|
ResolveOwnerAllowsScalability ( |
||
|
SeekToDesiredAge ( |
Sets the desired age of the System instance and designates that this change is a seek. |
|
|
SetAgeUpdateMode ( |
Sets the age update mode for the System instance. |
|
|
SetAllowScalability ( |
Set whether this component is allowed to perform scalability checks and potentially be culled etc. |
|
|
SetAsset ( |
Switch which asset the component is using. |
|
|
SetAutoDestroy ( |
||
|
SetCanRenderWhileSeeking ( |
Sets whether or not the system can render while seeking. |
|
|
SetCustomTimeDilation ( |
Sets the custom time dilation value for the component. |
|
|
SetDesiredAge ( |
Sets the desired age of the System instance. |
|
|
SetEmitterFixedBounds |
Sets the fixed bounds for an emitter instance, this overrides all other bounds. |
|
|
SetForceLocalPlayerEffect ( |
||
|
SetForceSolo ( |
||
|
SetGpuComputeDebug ( |
||
|
SetLockDesiredAgeDeltaTimeToSeekDelta ( |
Sets whether or not the delta time used to tick the system instance when using desired age is locked to the seek delta. |
|
|
SetLODDistance ( |
||
|
SetMaxSimTime ( |
Sets the maximum CPU time in seconds we will simulate to the desired age, when we go beyond this limit ticks will be processed in the next frame. |
|
|
SetNiagaraVariableActor |
||
|
SetNiagaraVariableBool |
Sets a Niagara float parameter by name, overriding locally if necessary. |
|
|
SetNiagaraVariableFloat ( |
Sets a Niagara float parameter by name, overriding locally if necessary. |
|
|
SetNiagaraVariableInt |
Sets a Niagara int parameter by name, overriding locally if necessary. |
|
|
SetNiagaraVariableLinearColor ( |
Sets a Niagara FLinearColor parameter by name, overriding locally if necessary. |
|
|
SetNiagaraVariableObject |
||
|
SetNiagaraVariablePosition |
Sets a Niagara Position parameter by name, overriding locally if necessary. |
|
|
SetNiagaraVariableQuat |
Sets a Niagara Vector3 parameter by name, overriding locally if necessary. |
|
|
SetNiagaraVariableVec2 |
Sets a Niagara Vector3 parameter by name, overriding locally if necessary. |
|
|
SetNiagaraVariableVec3 |
Sets a Niagara Vector3 parameter by name, overriding locally if necessary. |
|
|
SetNiagaraVariableVec4 |
Sets a Niagara Vector4 parameter by name, overriding locally if necessary. |
|
|
SetParameterOverride ( |
||
|
SetPaused ( |
||
|
SetPreviewLODDistance ( |
||
|
SetRandomSeedOffset ( |
||
|
SetRenderingEnabled ( |
Sets whether or not rendering is enabled for this component. |
|
|
SetSeekDelta ( |
Sets the delta value which is used when seeking from the current age, to the desired age. |
|
|
SetSystemFixedBounds ( |
Sets the fixed bounds for the system instance, this overrides all other bounds. |
|
|
SetSystemSignificanceIndex ( |
The significant index for this component. |
|
|
SetTickBehavior ( |
||
|
SetUserParametersToDefaultValues() |
Removes all local overrides and replaces them with the values from the source System - |
|
|
SetVariableActor |
||
|
SetVariableBool |
Sets a Niagara float parameter by name, overriding locally if necessary. |
|
|
SetVariableFloat ( |
Sets a Niagara float parameter by name, overriding locally if necessary. |
|
|
SetVariableInt |
Sets a Niagara int parameter by name, overriding locally if necessary. |
|
|
SetVariableLinearColor ( |
Sets a Niagara FLinearColor parameter by name, overriding locally if necessary. |
|
|
SetVariableMaterial ( |
||
|
SetVariableObject |
||
|
SetVariablePosition |
Sets a Niagara Position parameter by name, overriding locally if necessary. |
|
|
SetVariableQuat |
Sets a Niagara Vector3 parameter by name, overriding locally if necessary. |
|
|
SetVariableStaticMesh ( |
||
|
SetVariableTexture |
||
|
SetVariableTextureRenderTarget ( |
||
|
SetVariableVec2 |
Sets a Niagara Vector3 parameter by name, overriding locally if necessary. |
|
|
SetVariableVec3 |
Sets a Niagara Vector3 parameter by name, overriding locally if necessary. |
|
|
SetVariableVec4 |
Sets a Niagara Vector4 parameter by name, overriding locally if necessary. |
|
|
UpgradeDeprecatedParameterOverrides() |
Name | Description | ||
---|---|---|---|
|
ActivateSystem ( |
||
|
DeactivateImmediate() |
Forces component to deactivate immediately. |
|
|
GetApproxMemoryUsage() |
Returns an approximate memory usage value for this component. |
|
|
UFXSystemAss... |
GetFXSystemAsset() |
Get the referenced FXSystem asset. |
|
ReleaseToPool() |
Deactivates this system and releases it to the pool on completion. |
|
|
SetActorParameter |
Set a named actor instance parameter on this ParticleSystemComponent. |
|
|
SetAutoAttachmentParameters ( |
Set AutoAttachParent, AutoAttachSocketName, AutoAttachLocationRule, AutoAttachRotationRule, AutoAttachScaleRule to the specified parameters. |
|
|
SetBoolParameter |
Change a named boolean parameter, ParticleSystemComponent converts to float. |
|
|
SetColorParameter ( |
Set a named color instance parameter on this ParticleSystemComponent. |
|
|
SetEmitterEnable |
Enables/Disables a sub-emitter |
|
|
SetFloatParameter ( |
Change a named float parameter |
|
|
SetIntParameter ( |
Change a named int parameter |
|
|
SetUseAutoManageAttachment ( |
Sets whether we should automatically attach to AutoAttachParent when activated, and detach from our parent when completed. |
|
|
SetVectorParameter |
Set a named vector instance parameter on this ParticleSystemComponent. |
Name | Description | ||
---|---|---|---|
|
FPrimitiveSc... |
CreateSceneProxy() |
Creates a proxy to represent the primitive to the scene manager in the rendering thread. |
|
GetNumMaterials() |
Return number of material elements in this primitive |
|
|
GetUsedMaterials ( |
Retrieves the materials used in this component |
Name | Description | ||
---|---|---|---|
|
FBoxSphereBo... |
CalcBounds ( |
Calculate the bounds of the component. Default behavior is a bounding box/sphere of zero size. |
|
IsVisible() |
Returns true if this component is visible in the current context |
|
|
OnAttachmentChanged() |
Called when AttachParent changes, to allow the scene to update its attachment state. |
|
|
OnChildAttached ( |
Called after a child scene component is attached to this component. |
|
|
OnChildDetached ( |
Called after a child scene component is detached from this component. |
Name | Description | ||
---|---|---|---|
|
Activate ( |
Activates the SceneComponent, should be overridden by native child classes. |
|
|
const UObjec... |
AdditionalStatObject() |
Give a readable name for this component, including asset name if applicable |
|
CreateRenderState_Concurrent ( |
Used to create any rendering thread information for this component |
|
|
Deactivate() |
Deactivates the SceneComponent. |
|
|
DestroyRenderState_Concurrent() |
Used to shut down any rendering thread structure for this component |
|
|
IsReadyForOwnerToAutoDestroy() |
Overridable check for a component to indicate to its Owner that it should prevent the Actor from auto destroying when finished |
|
|
OnComponentCreated() |
Called when a component is created (not loaded). This can happen in the editor or during gameplay |
|
|
OnComponentDestroyed ( |
Called when a component is destroyed |
|
|
OnEndOfFrameUpdateDuringTick() |
Allows components to handle an EOF update happening mid tick. |
|
|
OnRegister() |
Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called. |
|
|
OnUnregister() |
Called when a component is unregistered. |
|
|
PostApplyToComponent() |
Called after ApplyToComponent has run. |
|
|
SendRenderDynamicData_Concurrent() |
Called to send dynamic data for this component to the rendering thread |
|
|
TickComponent ( |
Function called every frame on this ActorComponent. |
Name | Description | ||
---|---|---|---|
|
BeginDestroy() |
Called before destroying the object. |
|
|
PostEditChangeProperty ( |
Called when a property on this object has been modified externally |
|
|
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |
|
|
PreEditChange ( |
This is called when a property is about to be modified externally |
|
|
Serialize ( |
Handles reading, writing, and reference collecting using FArchive. |
Name |
Description |
---|---|
FOnSynchronizedWithAssetParameters |
|
FOnSystemInstanceChanged |
Name | Description | ||
---|---|---|---|
|
UNiagaraData... |
GetDataInterface ( |
This method will be removed in a future release. Use the method provided by the Niagara Function Library instead. |
|
FNiagaraSyst... |
GetSystemInstance() |
This interface is no longer safe to access directly. Use the interface provided by GetSystemInstanceController instead. |
|
TSharedPtr< ... |
GetSystemSimulation() |
This interface is no longer safe to access directly. Use the interface provided by GetSystemInstanceController instead. |