Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements > API/Plugins/PCG/Elements/Grammar
Inheritance Hierarchy
- UObject
- UPCGData
- UPCGSettingsInterface
- UPCGSettings
- UPCGSubdivisionBaseSettings
- UPCGDuplicateCrossSectionsSettings
- UPCGSubdivideSegmentSettings
- UPCGSubdivideSplineSettings
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Elements/Grammar/PCGSubdivisionBase.h |
| Include | #include "Elements/Grammar/PCGSubdivisionBase.h" |
Syntax
UCLASS (MinimalAPI, Abstract, ClassGroup=(Procedural))
class UPCGSubdivisionBaseSettings : public UPCGSettings
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bForwardAttributesFromModulesInfo | Do a match and set with the incoming modules info, only if the modules info is passed as input. | |
| bool | bModuleInfoAsInput | Set it to true to pass the info as attribute set. | |
| bool | bOutputDebugColorAttribute | ||
| bool | bOutputScalableAttribute | ||
| bool | bOutputSizeAttribute | ||
| bool | bUseSeedAttribute | Controls whether we'll use an attribute to drive random seeding for stochastic processes in the subdivision. | |
| FName | DebugColorAttributeName | Name of the Debug Color output attribute name, ignored if Forward Attributes From Modules Info is true. | |
| FPCGGrammarSelection | GrammarSelection | An encoded string that represents how to apply a set of rules to a series of defined modules. | |
| TArray< FPCGSubdivisionSubmodule > | ModulesInfo | Fixed array of modules used for the subdivision. | |
| FPCGSubdivisionModuleAttributeNames | ModulesInfoAttributeNames | Fixed array of modules used for the subdivision. | |
| FName | ScalableAttributeName | Name of the Scalable output attribute name, ignored if Forward Attributes From Modules Info is true. | |
| FPCGAttributePropertyInputSelector | SeedAttribute | Attribute to use to drive seed selection. It should be convertible to an integer. | |
| FName | SizeAttributeName | Name of the Size output attribute name, ignored if Forward Attributes From Modules Info is true. | |
| FName | SymbolAttributeName | Name of the Symbol output attribute name. |
Overridden from UPCGSettings
| Type | Name | Description | |
|---|---|---|---|
| EPCGSettingsType | GetType () |
||
| void | PostLoad () |
||
| bool | UseSeed () |
By default, settings do not use a seed. |