Navigation
API > API/Plugins > API/Plugins/PCG
Inheritance Hierarchy
- UObject
- UPCGAssetExporter
- UPCGAlembicToPCGAssetExporter
- UPCGDataCollectionExporter
- UPCGLevelToAsset
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/PCGAssetExporter.h |
| Include | #include "PCGAssetExporter.h" |
Syntax
UCLASS (BlueprintType, Abstract, Blueprintable)
class UPCGAssetExporter : public UObject
Remarks
Base class for asset exporters. Can be extended either natively or through blueprint. Not intended to be used in non-editor builds.
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | BP_ExportToAsset
(
UPCGDataAsset* Asset |
||
| TSubclassOf< UPCGDataAsset > | Returns the subtype of PCG data asset generated by the Level To Asset process. | ||
| void | DuplicateAndReOuterData
(
UPCGDataAsset* Asset |
Duplicates data that is outered to the transient package so it is properly saved | |
| bool | Export
(
const FString& PackageName, |
Exports data to an asset based on the exporter's metadata | |
| bool | ExportAsset
(
const FString& PackageName, |
Exports data to an asset based on the exporter's metadata | |
| TSubclassOf< UPCGDataAsset > | GetAssetType () |
Drives the asset creation for the data parsed from the level, will return UPCGDataAsset by default. | |
| void | SerializeMetadata
(
FArchive& Ar |
Sets up the exporter prior to performing update | |
| void | SerializeMetadataFromAsset
(
const FAssetData& PCGAsset |
Loads exporter metadata from the asset | |
| void | SerializeMetadataToAsset
(
const FAssetData& PCGAsset |
Saves exporter metadata to the asset | |
| UPackage * | Update
(
const FAssetData& PCGAsset |
Updates the asset from its source data, when possible | |
| UPackage * | UpdateAsset
(
const FAssetData& PCGAsset |
Updates the asset from its source data, when possible |