Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/MatchAndSet
Inheritance Hierarchy
- UObject
- UPCGMatchAndSetBase
- UPCGMatchAndSetWeightedByCategory
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/MatchAndSet/PCGMatchAndSetWeightedByCategory.h |
| Include | #include "MatchAndSet/PCGMatchAndSetWeightedByCategory.h" |
Syntax
UCLASS (BlueprintType, ClassGroup=(Procedural))
class UPCGMatchAndSetWeightedByCategory : public UPCGMatchAndSetBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bShouldMutateSeed | Controls whether the output data should mutate its seed - prevents issues when doing multiple random processes in a row | |
| TArray< FPCGMatchAndSetWeightedByCategoryEntryList > | Categories | Lookup entries (key -> weighted list) | |
| FName | CategoryAttribute | Attribute to match against | |
| EPCGMetadataTypes | CategoryType | Type of the attribute to match against. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
||
| void | SetCategoryType
(
EPCGMetadataTypes InType |
Propagates (does not set) category (e.g. Match) type to entries. |
Overridden from UPCGMatchAndSetBase
| Type | Name | Description | |
|---|---|---|---|
| void | MatchAndSet_Implementation
(
FPCGContext& Context, |
||
| void | PostLoad () |
||
| void | SetType
(
EPCGMetadataTypes InType |
Sets & propagates type change from the owner settings object | |
| bool | Queries whether we should mutate the seeds as a post-process | ||
| bool | Queries whether this object uses a random process - note that this is expected to be static through the life of the object | ||
| bool | ValidatePreconditions_Implementation
(
const UPCGPointData* InPointData |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| EPCGMetadataTypesConstantStructStringMode | CategoryStringMode_DEPRECATED |