Navigation
API > API/Plugins > API/Plugins/PCG
Container for PCG data exported as standalone objects
| Name | UPCGDataAsset |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/PCGDataAsset.h |
| Include Path | #include "PCGDataAsset.h" |
Syntax
UCLASS (MinimalAPI, HideCategories=Object, BlueprintType, ClassGroup=(Procedural))
class UPCGDataAsset : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGDataAsset
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bExposeToLibrary | bool | Controls whether the asset will be visible from the palette & contextual menus. | PCGDataAsset.h |
|
| Category | FText | Controls in what category the asset will appear in the palette & contextual menus. | PCGDataAsset.h |
|
| Color | FLinearColor | Custom node color to use for this specific asset | PCGDataAsset.h |
|
| Data | FPCGDataCollection | TODO: crc? TODO: add compression on serialization TODO: add array of references to other assets for recursive parsing TODO: additional embedded graph? Contains direct data owned by this data asset | PCGDataAsset.h |
|
| Description | FText | Additional description (tooltip) shown on the asset/loader node. | PCGDataAsset.h |
|
| ExporterClass | TSoftClassPtr< UObject > | Custom exporter class that was used to create this PCG asset. | PCGDataAsset.h |
|
| ExporterMetadata | FString | Custom exporter metadata to be able to update data without user intervention | PCGDataAsset.h |
|
| Name | FString | Alternative name (instead of asset name), can be left empty | PCGDataAsset.h |
|
| ObjectPath | FSoftObjectPath | Reference to originating object (often will be a level) | PCGDataAsset.h |
|
| SettingsClass | TSubclassOf< UPCGSettings > | Custom class to create settings/node in the graph when dragged in the editor. Can be left empty. | PCGDataAsset.h |
|