Navigation
API > API/Plugins > API/Plugins/PCG
Criteria to compare against an input value for conditionally selecting a grammar.
| Name | FPCGSelectGrammarCriterion |
| Type | struct |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Elements/Grammar/PCGSelectGrammar.h |
| Include Path | #include "Elements/Grammar/PCGSelectGrammar.h" |
Syntax
USTRUCT (BlueprintType )
struct FPCGSelectGrammarCriterion
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Comparator | EPCGSelectGrammarComparator | Comparison operator of a selected input value against a criterion's value. | Elements/Grammar/PCGSelectGrammar.h |
|
| FirstValue | double | Compared against the input value. | Elements/Grammar/PCGSelectGrammar.h |
|
| Grammar | FString | The selected grammar result if the condition evaluates to true. | Elements/Grammar/PCGSelectGrammar.h |
|
| Key | FName | Key representation of a potential grammar selection. | Elements/Grammar/PCGSelectGrammar.h |
|
| SecondValue | double | Used for comparison in range-based or ternary conditions. | Elements/Grammar/PCGSelectGrammar.h |
|