Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Grammar > API/Plugins/PCG/Grammar/FPCGGrammarSelection
Syntax
UPROPERTY (BlueprintReadWrite, EditAnywhere, Category=Settings, Meta=(PCG_Overridable))
bool bGrammarAsAttribute
Remarks
Read the grammar as an attribute rather than directly from the settings. Grammar syntax:
- Each symbol can have multiple characters
- Modules are defined in '[]', multiple symbols in a module are separated with ','
- Modules can be repeated a fixed number of times, by adding a number after it (like [A,B]3 will produce ABABAB)
- Modules can be marked repeated an indefinite number of times, with ''. (like [A,B] will produce ABABABAB... while it fits the allowed size).