Navigation
API > API/Plugins > API/Plugins/PCG
Store the information about a type. Used by FPCGDataTypeBaseId as the UScriptStruct (the meta-struct) and will have a "default object" initialized in the registry for the virtual calls. You can also add a "PCG_DataTypeDisplayName" meta tag to the UStruct to have a custom display name. Otherwise by default, it will keep what is at the right of `DataTypeInfo_.
| Name | FPCGDataTypeInfo |
| Type | struct |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Data/Registry/PCGDataType.h |
| Include Path | #include "Data/Registry/PCGDataType.h" |
Syntax
USTRUCT ()
struct FPCGDataTypeInfo
Derived Classes
FPCGDataTypeInfo derived class hierarchy
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FPCGDataTypeInfo() |
Data/Registry/PCGDataType.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TOptional< TArray< UPCGNode * > > AddConversionNodesFrom
(
const FPCGDataTypeIdentifier& InputType, |
If SupportsConversionFrom returns true, can provide a function to add conversion nodes. | Data/Registry/PCGDataType.h | |
virtual TOptional< TArray< UPCGNode * > > AddConversionNodesTo
(
const FPCGDataTypeIdentifier& ThisType, |
If SupportsConversionTo returns true, can provide a function to add conversion nodes. | Data/Registry/PCGDataType.h | |
virtual TSubclassOf< UPCGData > GetAssociatedClass() |
Data/Registry/PCGDataType.h | ||
virtual EPCGDataType GetAssociatedLegacyType() |
Data/Registry/PCGDataType.h | ||
virtual TOptional< FText > GetExtraTooltip
(
const FPCGDataTypeIdentifier& ThisType |
Can provide a custom extra tooltip that will be shown when hovering a pin of this type. | Data/Registry/PCGDataType.h | |
virtual TOptional< FText > GetSubtypeTooltip
(
const FPCGDataTypeIdentifier& ThisType |
Can provide a custom tooltip for subtype that will be shown when hovering a pin of this type. | Data/Registry/PCGDataType.h | |
virtual bool Hidden() |
If the type should be hidden to the user. | Data/Registry/PCGDataType.h | |
virtual EPCGDataTypeCompatibilityResult IsCompatibleForSubtype
(
const FPCGDataTypeIdentifier& InType, |
Can be overriden to have more restrictive compatibility based on the subtype. | Data/Registry/PCGDataType.h | |
virtual bool SupportsConversionFrom
(
const FPCGDataTypeIdentifier& InputType, |
Can be overriden by a type info to indicate if we can convert from InputType to ThisType. | Data/Registry/PCGDataType.h | |
virtual bool SupportsConversionTo
(
const FPCGDataTypeIdentifier& ThisType, |
Can be overriden by a type info to indicate if we can convert from ThisType to OutputType. | Data/Registry/PCGDataType.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const FPCGDataTypeBaseId & AsId() |
Data/Registry/PCGDataType.h | ||
static TSubclassOf< UPCGData > GetStaticAssociatedClass() |
Data/Registry/PCGDataType.h | ||
static EPCGDataType GetStaticAssociatedLegacyType() |
Data/Registry/PCGDataType.h |