Navigation
API > API/Plugins > API/Plugins/Niagara
| Name | UNiagaraSimulationStageGeneric |
| Type | class |
| Header File | /Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraSimulationStageBase.h |
| Include Path | #include "NiagaraSimulationStageBase.h" |
Syntax
UCLASS (Meta=(DisplayName="Generic Simulation Stage"), MinimalAPI)
class UNiagaraSimulationStageGeneric : public UNiagaraSimulationStageBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UNiagaraNotifyOnChanged → UNiagaraMergeable → UNiagaraSimulationStageBase → UNiagaraSimulationStageGeneric
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bDisablePartialParticleUpdate | uint32 | Disables the ability to read / write from the same particle buffer, i.e. only update position and no other attributes. | NiagaraSimulationStageBase.h |
|
| bGpuDispatchForceLinear | uint32 | When enabled we force the dispatch to be linear (i.e. one dimension is used). | NiagaraSimulationStageBase.h |
|
| bOverrideGpuDispatchNumThreads | uint32 | When enabled we use a custom number of threads for the dispatch. | NiagaraSimulationStageBase.h |
|
| bParticleIterationStateEnabled | uint32 | When enabled we iterate over the subset of particles that satisfy the binding & range selected. | NiagaraSimulationStageBase.h |
|
| DataInterface | FNiagaraVariableDataInterfaceBinding | Source data interface to use for the simulation stage. | NiagaraSimulationStageBase.h |
|
| DirectDispatchElementType | ENiagaraDirectDispatchElementType | Customizes what the element count means for a direct dispatch. | NiagaraSimulationStageBase.h |
|
| DirectDispatchType | ENiagaraGpuDispatchType | Dimensions to use for dispatch. | NiagaraSimulationStageBase.h |
|
| ElementCountX | FNiagaraParameterBindingWithValue | Integer binding to override the number of elements the stage will execute along X. | NiagaraSimulationStageBase.h |
|
| ElementCountY | FNiagaraParameterBindingWithValue | Integer binding to override the number of elements the stage will execute along Y. | NiagaraSimulationStageBase.h |
|
| ElementCountZ | FNiagaraParameterBindingWithValue | Integer binding to override the number of elements the stage will execute along Z. | NiagaraSimulationStageBase.h |
|
| EnabledBinding | FNiagaraVariableAttributeBinding | Optional bool binding allowing scripts to control if the simulation stage is enabled or not. | NiagaraSimulationStageBase.h |
|
| ExecuteBehavior | ENiagaraSimStageExecuteBehavior | Controls when the simulation stage should execute, only valid for data interface iteration stages | NiagaraSimulationStageBase.h |
|
| IterationSource | ENiagaraIterationSource | Select what we should be iterating over, particles or data interfaces. | NiagaraSimulationStageBase.h |
|
| NumIterations | FNiagaraParameterBindingWithValue | Number of times (or iterations) the simulation stage will execute in a row. | NiagaraSimulationStageBase.h |
|
| OverrideGpuDispatchNumThreadsX | FNiagaraParameterBindingWithValue | Parameter binding / constant value for Num Threads X | NiagaraSimulationStageBase.h |
|
| OverrideGpuDispatchNumThreadsY | FNiagaraParameterBindingWithValue | Parameter binding / constant value for Num Threads Y | NiagaraSimulationStageBase.h |
|
| OverrideGpuDispatchNumThreadsZ | FNiagaraParameterBindingWithValue | Parameter binding / constant value for Num Threads Z | NiagaraSimulationStageBase.h |
|
| ParticleIterationStateBinding | FNiagaraVariableAttributeBinding | Particle state attribute binding, when enabled we will only allow particles who pass the state range check to be processed. | NiagaraSimulationStageBase.h |
|
| ParticleIterationStateRange | FIntPoint | The inclusive range used to check particle state binding against when enabled. | NiagaraSimulationStageBase.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void RemoveVariable
(
const FNiagaraVariableBase& OldVariable, |
NiagaraSimulationStageBase.h | ||
virtual void RenameEmitter
(
const FName& InOldName, |
NiagaraSimulationStageBase.h | ||
virtual void RenameVariable
(
const FNiagaraVariableBase& OldVariable, |
NiagaraSimulationStageBase.h |
Overridden from UNiagaraSimulationStageBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool AppendCompileHash
(
FNiagaraCompileHashVisitor* InVisitor |
NiagaraSimulationStageBase.h | ||
virtual bool FillCompilationData
(
TArray< FNiagaraSimulationStageCompilationData >& CompilationSimStageData |
NiagaraSimulationStageBase.h | ||
virtual FName GetStackContextReplacementName () |
Return the FName to use in place of the default for the location in the stack context. | NiagaraSimulationStageBase.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
NiagaraSimulationStageBase.h | ||
virtual void PostInitProperties() |
NiagaraSimulationStageBase.h | ||
virtual void PostLoad() |
NiagaraSimulationStageBase.h |
Deprecated Variables
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bOverrideGpuDispatchType_DEPRECATED | uint32 | NiagaraSimulationStageBase.h | ||
| bSpawnOnly_DEPRECATED | uint32 | NiagaraSimulationStageBase.h | ||
| ElementCountBinding_DEPRECATED | FNiagaraVariableAttributeBinding | Deprecated Properties. | NiagaraSimulationStageBase.h | |
| ElementCountXBinding_DEPRECATED | FNiagaraVariableAttributeBinding | NiagaraSimulationStageBase.h | ||
| ElementCountYBinding_DEPRECATED | FNiagaraVariableAttributeBinding | NiagaraSimulationStageBase.h | ||
| ElementCountZBinding_DEPRECATED | FNiagaraVariableAttributeBinding | NiagaraSimulationStageBase.h | ||
| Iterations_DEPRECATED | int32 | NiagaraSimulationStageBase.h | ||
| NumIterationsBinding_DEPRECATED | FNiagaraVariableAttributeBinding | NiagaraSimulationStageBase.h | ||
| OverrideGpuDispatchNumThreads_DEPRECATED | FIntVector | NiagaraSimulationStageBase.h | ||
| OverrideGpuDispatchType_DEPRECATED | ENiagaraGpuDispatchType | NiagaraSimulationStageBase.h |