Navigation
API > API/Plugins > API/Plugins/PCG
| Name | UPCGManagedActors |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/PCGManagedResource.h |
| Include Path | #include "PCGManagedResource.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType)
class UPCGManagedActors : public UPCGManagedResource
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGManagedResource → UPCGManagedActors
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bSupportsReset | bool | Controls whether the resource will be removed at the beginning of the generation instead of being kept until the end, in the eventuality it is reused. | PCGManagedResource.h |
|
| GeneratedActors | TSet< TSoftObjectPtr< AActor > > | PCGManagedResource.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| GeneratedActorsArray | TArray< TSoftObjectPtr< AActor > > | PCGManagedResource.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const TArray< TSoftObjectPtr< AActor > > & GetConstGeneratedActors() |
PCGManagedResource.h | ||
TArray< TSoftObjectPtr< AActor > > & GetMutableGeneratedActors() |
PCGManagedResource.h |
Overridden from UPCGManagedResource
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ChangeTransientState
(
EPCGEditorDirtyMode NewEditingMode |
PCGManagedResource.h | ||
virtual bool IsManaging
(
const UObject* InObject |
Returns true if this resource manages this object. | PCGManagedResource.h | |
virtual void MarkAsReused() |
Marks the resource as being reused as-is during the generation | PCGManagedResource.h | |
virtual void MarkAsUsed() |
Marks the resources as being kept and changed through generation | PCGManagedResource.h | |
virtual bool MoveResourceToNewActor
(
AActor* NewActor |
Move the given resource to a new actor. Return true if it has succeeded | PCGManagedResource.h | |
virtual bool Release
(
bool bHardRelease, |
Releases/Mark Unused the resource depending on the bHardRelease flag. | PCGManagedResource.h | |
virtual bool ReleaseIfUnused
(
TSet< TSoftObjectPtr< AActor > >& OutActorsToDelete |
Releases resource if empty or unused. | PCGManagedResource.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditImport() |
PCGManagedResource.h | ||
virtual void PostLoad() |
PCGManagedResource.h |