Navigation
API > API/Plugins > API/Plugins/PCG
| Name | FPCGMatchAndSetWeightedByCategoryEntryList |
| Type | struct |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/MatchAndSet/PCGMatchAndSetWeightedByCategory.h |
| Include Path | #include "MatchAndSet/PCGMatchAndSetWeightedByCategory.h" |
Syntax
USTRUCT (BlueprintType )
struct FPCGMatchAndSetWeightedByCategoryEntryList
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPCGMatchAndSetWeightedByCategoryEntryList() |
MatchAndSet/PCGMatchAndSetWeightedByCategory.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsDefault | bool | If the category is the default, if the input does not match to anything, it will use this category. | MatchAndSet/PCGMatchAndSetWeightedByCategory.h |
|
| CategoryValue | FPCGMetadataTypesConstantStruct | MatchAndSet/PCGMatchAndSetWeightedByCategory.h |
|
|
| WeightedEntries | TArray< FPCGMatchAndSetWeightedEntry > | Values and their weights | MatchAndSet/PCGMatchAndSetWeightedByCategory.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int GetTotalWeight() |
MatchAndSet/PCGMatchAndSetWeightedByCategory.h | ||
void OnPostLoad() |
MatchAndSet/PCGMatchAndSetWeightedByCategory.h | ||
void SetType
(
EPCGMetadataTypes InType |
MatchAndSet/PCGMatchAndSetWeightedByCategory.h |