Navigation
API > API/Plugins > API/Plugins/NiagaraEditor
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UNiagaraValidationRule
- UNiagaraValidationRule_SimulationStageBudget
References
| Module | NiagaraEditor |
| Header | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/NiagaraValidationRules.h |
| Include | #include "NiagaraValidationRules.h" |
Syntax
UCLASS&40;Category&61;"Validation", DisplayName&61;"Simulation Stage Budget"&41;
class UNiagaraValidationRule_SimulationStageBudget : public UNiagaraValidationRule
Remarks
This validation rule can be used to enforce a budget on the number of simulation stages and the iterations that may execute.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bMaxIterationsPerStageEnabled | ||
| bool | bMaxSimulationStagesEnabled | ||
| bool | bMaxTotalIterationsEnabled | ||
| int32 | MaxIterationsPerStage | Maximum number of iterations a single stage is allowed to execute. | |
| int32 | MaxSimulationStages | Maximum number of simulation stages allowed, where 0 means no simulation stages. | |
| int32 | MaxTotalIterations | Maximum total iterations across all the enabled simulation stages. | |
| ENiagaraValidationSeverity | Severity | How do we want to repro the error in the stack |
Overridden from UNiagaraValidationRule
| Type | Name | Description | |
|---|---|---|---|
| void | CheckValidity
(
const FNiagaraValidationContext& Context, |