Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/FPCGDataTypeInfo
Description
Can be overriden by a type info to indicate if we can convert from InputType to ThisType. Since we have a hierarchy of type, ThisType is by construction a child of the current type info ; But it can be a child and not the same type. Can also return an optional simple conversion settings if the conversion is valid. Can also provide a custom message to provide the user more information.
Derived Overrides
| Name | SupportsConversionFrom |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Data/Registry/PCGDataType.h |
| Include Path | #include "Data/Registry/PCGDataType.h" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/Data/Registry/PCGDataType.cpp |
virtual bool SupportsConversionFrom
(
const FPCGDataTypeIdentifier & InputType,
const FPCGDataTypeIdentifier & ThisType,
TSubclassOf < UPCGSettings > * OptionalOutConversionSettings,
FText * OptionalOutCompatibilityMessage
) const