Navigation
API > API/Plugins > API/Plugins/PCGEditor
Inheritance Hierarchy
- UObject
- UPCGAssetExporter
- UPCGLevelToAsset
References
| Module | PCGEditor |
| Header | /Engine/Plugins/PCG/Source/PCGEditor/Public/PCGLevelToAsset.h |
| Include | #include "PCGLevelToAsset.h" |
Syntax
UCLASS (BlueprintType, Blueprintable, Meta=(ShowWorldContextPin))
class UPCGLevelToAsset : public UPCGAssetExporter
Variables
| Type | Name | Description | |
|---|---|---|---|
| UWorld * | WorldToExport |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | BP_ExportWorld
(
UWorld* World, |
Parses the world and fills in the provided data asset. | |
| UPackage * | CreateOrUpdatePCGAsset
(
TSoftObjectPtr< UWorld > World, |
Creates/Updates a PCG Asset for a specific world. | |
| UPackage * | CreateOrUpdatePCGAsset
(
UWorld* World, |
Creates/Updates a PCG Asset for a specific world. | |
| void | CreateOrUpdatePCGAssets
(
const TArray< FAssetData >& WorldAssets, |
Creates/updates a PCG Asset per given world. Allows exporter subclassing by passing in a Subclass. | |
| UWorld * | GetWorld () |
||
| void | SetWorld
(
UWorld* World |
Overridden from UPCGAssetExporter
| Type | Name | Description | |
|---|---|---|---|
| bool | ExportAsset
(
const FString& PackageName, |
Exports data to an asset based on the exporter's metadata | |
| UPackage * | UpdateAsset
(
const FAssetData& PCGAsset |
Updates the asset from its source data, when possible |