Navigation
API > API/Plugins > API/Plugins/NiagaraEditor
This validation rule is for ribbon renderers to ensure they are not used in situations that can cause compatability or performance issues. i.e. Don't use a ribbon renderer with a GPU emitter / enable GPU ribbon init on lower end devices.
| Name | UNiagaraValidationRule_RibbonRenderer |
| Type | class |
| Header File | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/NiagaraValidationRules.h |
| Include Path | #include "NiagaraValidationRules.h" |
Syntax
UCLASS (Category="Validation", DisplayName="Ribbon Renderer")
class UNiagaraValidationRule_RibbonRenderer : public UNiagaraValidationRule
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UNiagaraValidationRule → UNiagaraValidationRule_RibbonRenderer
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bFailIfUsedByGPUInit | bool | When enable validation will fail if used by a CPU emitter and GPU init is enabled on the renderer. | NiagaraValidationRules.h |
|
| bFailIfUsedByGPUSimulation | bool | When enable validation will fail if used by a GPU emitter. | NiagaraValidationRules.h |
|
| Platforms | FNiagaraPlatformSet | NiagaraValidationRules.h |
|
|
| Severity | ENiagaraValidationSeverity | NiagaraValidationRules.h |
|
Functions
Public
Overridden from UNiagaraValidationRule
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CheckValidity
(
const FNiagaraValidationContext& Context, |
NiagaraValidationRules.h |