Navigation
API > API/Plugins > API/Plugins/PCG
Inheritance Hierarchy
- UObject
- UPCGDataAsset
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/PCGDataAsset.h |
| Include | #include "PCGDataAsset.h" |
Syntax
UCLASS (HideCategories=Object, BlueprintType, ClassGroup=(Procedural))
class UPCGDataAsset : public UObject
Remarks
Container for PCG data exported as standalone objects
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bExposeToLibrary | Controls whether the asset will be visible from the palette & contextual menus. | |
| FText | Category | Controls in what category the asset will appear in the palette & contextual menus. | |
| FLinearColor | Color | Custom node color to use for this specific asset | |
| FPCGDataCollection | Data | 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 | |
| FText | Description | Additional description (tooltip) shown on the asset/loader node. | |
| TSoftClassPtr< UObject > | ExporterClass | Custom exporter class that was used to create this PCG asset. | |
| FString | ExporterMetadata | Custom exporter metadata to be able to update data without user intervention | |
| FString | Name | Alternative name (instead of asset name), can be left empty | |
| FSoftObjectPath | ObjectPath | Reference to originating object (often will be a level) | |
| TSubclassOf< UPCGSettings > | SettingsClass | Custom class to create settings/node in the graph when dragged in the editor. Can be left empty. |