Navigation
API > API/Plugins > API/Plugins/PCG
| Name | FPCGMetadataAttributeDesc |
| Type | struct |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Metadata/PCGMetadataCommon.h |
| Include Path | #include "Metadata/PCGMetadataCommon.h" |
Syntax
USTRUCT ()
struct FPCGMetadataAttributeDesc
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ContainerTypes | TArray< EPCGMetadataAttributeContainerTypes > | Metadata/PCGMetadataCommon.h | ||
| KeyType | EPCGMetadataTypes | Map specific. | Metadata/PCGMetadataCommon.h | |
| KeyTypeObject | TObjectPtr< const UObject > | Metadata/PCGMetadataCommon.h | ||
| Name | FName | Metadata/PCGMetadataCommon.h | ||
| ValueType | EPCGMetadataTypes | Metadata/PCGMetadataCommon.h | ||
| ValueTypeObject | TObjectPtr< const UObject > | Struct/Object/Enum Specific. | Metadata/PCGMetadataCommon.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool ContainsObject() |
Returns true if the attribute contains an object type. | Metadata/PCGMetadataCommon.h | |
void ConvertObjectsToSoftPath() |
Operation to transform a desc that contains objects into their SoftPath counterpart. | Metadata/PCGMetadataCommon.h | |
FPCGMetadataAttributeDesc ConvertToArray() |
Convert to an array descriptor. | Metadata/PCGMetadataCommon.h | |
FPCGMetadataAttributeDesc ConvertToSingleValue() |
Convert to a single value descriptor. | Metadata/PCGMetadataCommon.h | |
void FixLegacyTypeId() |
For already predefined structs, replace `EPCGMetadataTypes::Struct_ by its predefined type. | Metadata/PCGMetadataCommon.h | |
FString GetTypeString() |
Returns the string representing the type of this descriptor. | Metadata/PCGMetadataCommon.h | |
FText GetTypeText() |
Metadata/PCGMetadataCommon.h | ||
bool IsArray() |
Returns true if the attribute is an array. | Metadata/PCGMetadataCommon.h | |
bool IsCompatible
(
const FPCGMetadataAttributeDesc& Other |
Return true if we can write this descriptor type into the other descriptor type. | Metadata/PCGMetadataCommon.h | |
bool IsMap() |
Returns true if the attribute is a map. | Metadata/PCGMetadataCommon.h | |
bool IsSameType
(
const FPCGMetadataAttributeDesc& Other |
Metadata/PCGMetadataCommon.h | ||
bool IsSet() |
Returns true if the attribute is a set. | Metadata/PCGMetadataCommon.h | |
bool IsSingleValue() |
Returns true if the attribute is not a container (Array/Set/Map). | Metadata/PCGMetadataCommon.h | |
bool IsValid() |
Metadata/PCGMetadataCommon.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FPCGMetadataAttributeDesc CreateFromProperty
(
const FProperty* InProperty |
Create a descriptor from a Property. | Metadata/PCGMetadataCommon.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FPCGMetadataAttributeDesc& Other |
Same type and same name | Metadata/PCGMetadataCommon.h |