Navigation
API > API/Plugins > API/Plugins/PCG
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UPCGManagedResource
- UPCGManagedActors
References
| Module | PCG |
| Header | /Engine/Plugins/Experimental/PCG/Source/PCG/Public/PCGManagedResource.h |
| Include | #include "PCGManagedResource.h" |
Syntax
UCLASS&40;BlueprintType&41;
class UPCGManagedActors : public UPCGManagedResource
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSet< TSoftObjectPtr< AActor > > | GeneratedActors |
Overridden from UPCGManagedResource
| Type | Name | Description | |
|---|---|---|---|
| void | MarkAsReused () |
Ensure may fire if multiple executions of the graph are happening in parallel/overlapping. | |
| void | MarkAsUsed () |
||
| bool | MoveResourceToNewActor
(
AActor* NewActor |
Move the given resource to a new actor. Return true if it has succeeded | |
| void | Called when after a PCG component is applied to (such as after a RerunConstructionScript) | ||
| bool | Release
(
bool bHardRelease, |
Releases/Mark Unsued the resource depending on the bHardRelease flag. | |
| bool | ReleaseIfUnused
(
TSet< TSoftObjectPtr< AActor >>& OutActorsToDelete |
Releases resource if empty or unused. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | Called after importing property values for this object (paste, duplicate or .t3d import) Allow the object to perform any cleanup for properties which shouldn't be duplicated or are unsupported by the script serialization |