Navigation
API > API/Plugins > API/Plugins/PCG
Inheritance Hierarchy
- UObject
- UPCGManagedResource
- UPCGManagedActors
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/PCGManagedResource.h |
| Include | #include "PCGManagedResource.h" |
Syntax
UCLASS (BlueprintType)
class UPCGManagedActors : public UPCGManagedResource
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSet< TSoftObjectPtr< AActor > > | GeneratedActors |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void |
Overridden from UPCGManagedResource
| Type | Name | Description | |
|---|---|---|---|
| void | ChangeTransientState
(
EPCGEditorDirtyMode NewEditingMode |
||
| void | MarkAsReused () |
Marks the resource as being reused as-is during the generation | |
| void | MarkAsUsed () |
Marks the resources as being kept and changed through generation | |
| 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 Unused the resource depending on the bHardRelease flag. | |
| bool | ReleaseIfUnused
(
TSet< TSoftObjectPtr< AActor > >& OutActorsToDelete |
Releases resource if empty or unused. |