Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/FPCGDataTypeInfoParam
Description
Can be overriden by a type info to indicate if we can convert from ThisType to OutputType. 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.
Virtual Inheritance
- FPCGDataTypeInfo::SupportsConversionTo → FPCGDataTypeInfoParam::SupportsConversionTo
| Name | SupportsConversionTo |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/PCGParamData.h |
| Include Path | #include "PCGParamData.h" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/PCGParamData.cpp |
virtual bool SupportsConversionTo
(
const FPCGDataTypeIdentifier & ThisType,
const FPCGDataTypeIdentifier & OutputType,
TSubclassOf < UPCGSettings > * OptionalOutConversionSettings,
FText * OptionalOutCompatibilityMessage
) const