Navigation
API > API/Plugins > API/Plugins/NiagaraEditor
This validation rule checks that map for nodes are not used with cpu scripts (as they only work on gpu).
| Name | UNiagaraValidationRule_NoMapForOnCpu |
| Type | class |
| Header File | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/NiagaraValidationRules.h |
| Include Path | #include "NiagaraValidationRules.h" |
Syntax
UCLASS (Category="Validation", DisplayName="MapFor on CPU Check")
class UNiagaraValidationRule_NoMapForOnCpu : public UNiagaraValidationRule
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UNiagaraValidationRule → UNiagaraValidationRule_NoMapForOnCpu
Structs
| Name | Remarks |
|---|---|
| FGraphCheckResult |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Severity | ENiagaraValidationSeverity | How do we want to report the error in the stack | NiagaraValidationRules.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CachedResults | TMap< FObjectKey, FGraphCheckResult > | NiagaraValidationRules.h |
Functions
Public
Overridden from UNiagaraValidationRule
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CheckValidity
(
const FNiagaraValidationContext& Context, |
NiagaraValidationRules.h |