Navigation
API > API/Plugins > API/Plugins/PCG
| Name | UPCGDataViewConverterBase |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Data/DataView/PCGDataViewInterface.h |
| Include Path | #include "Data/DataView/PCGDataViewInterface.h" |
Syntax
UCLASS (Abstract)
class UPCGDataViewConverterBase : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGDataViewConverterBase
Derived Classes
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TValueOrError< void, FText > SerializeToFile
(
const FPCGDataView& InDataView, |
Will leverage SerializeToString and save the result to the provided file path. | Data/DataView/PCGDataViewInterface.h |
Public Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanConvertToString() |
Data/DataView/PCGDataViewInterface.h | ||
virtual TValueOrError< UPCGData *, FText > ConstructDataFromTarget
(
const FInstancedStruct& InTargetStruct, |
Construct a new PCG Data subclass from an FInstancedStruct matching GetTargetStruct(). | Data/DataView/PCGDataViewInterface.h | |
virtual UScriptStruct * GetParameterStruct() |
The custom UScriptStruct that contains the user defined parameters for the conversion. | Data/DataView/PCGDataViewInterface.h | |
virtual UScriptStruct * GetTargetStruct() |
The custom UScriptStruct that contains the data after conversion in the target data format. | Data/DataView/PCGDataViewInterface.h | |
virtual TValueOrError< FString, FText > SerializeToString
(
const FPCGDataView& InDataView, |
Data/DataView/PCGDataViewInterface.h | ||
virtual TValueOrError< FInstancedStruct, FText > SerializeToTargetStruct
(
const FPCGDataView& InDataView, |
Override to serialize the Data View's underlying data and selection into an FInstancedStruct matching GetTargetStruct(). | Data/DataView/PCGDataViewInterface.h |