Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/FPCGDataTypeInfoPolygon2D
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 → FPCGDataTypeInfoSpatial::SupportsConversionTo → FPCGDataTypeInfoPolygon2D::SupportsConversionTo
| Name | SupportsConversionTo |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Data/PCGPolygon2DData.h |
| Include Path | #include "Data/PCGPolygon2DData.h" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/Data/PCGPolygon2DData.cpp |
virtual bool SupportsConversionTo
(
const FPCGDataTypeIdentifier & ThisType,
const FPCGDataTypeIdentifier & OutputType,
TSubclassOf < UPCGSettings > * OptionalOutConversionSettings,
FText * OptionalOutCompatibilityMessage
) const