Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements > API/Plugins/PCG/Elements/Grammar
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Elements/Grammar/PCGSelectGrammar.h |
| Include | #include "Elements/Grammar/PCGSelectGrammar.h" |
Syntax
enum EPCGSelectGrammarComparator
{
BinaryOps = 1 << 5 UMETA(Hidden),
UMETA =(DisplayName = "Select", ToolTip = "Select this grammar. Always evaluates to true."),
UMETA =(DisplayName = "<", ToolTip = "Select if 'less than' (A < B)"),
UMETA =(DisplayName = "<=", ToolTip = "Select if 'less than or equal to' (A <= B)"),
UMETA =(DisplayName = "==", ToolTip = "Select if 'equal to' (A == B)"),
UMETA =(DisplayName = ">=", ToolTip = "Select if 'greater than or equal to' (A >= B)"),
UMETA =(DisplayName = ">", ToolTip = "Select if 'greater than' (A > B)"),
TernaryOps = 1 << 6 UMETA(Hidden),
UMETA =(DisplayName = "Range (exclusive)", ToolTip = "Select if 'within exclusive range' (B < A < C)"),
UMETA =(DisplayName = "Range (inclusive)", ToolTip = "Select if 'within inclusive range' (B <= A <= C)"),
}
Values
| Name | Description |
|---|---|
| BinaryOps | 32 options |
| UMETA | |
| UMETA | |
| UMETA | |
| UMETA | |
| UMETA | |
| UMETA | |
| TernaryOps | 64 options |
| UMETA | |
| UMETA |
Remarks
An enum representation of basic numerical comparisons for the Select Grammar operation.