Navigation
API > API/Plugins > API/Plugins/PCG
Inheritance Hierarchy
- UObject
- UPCGManagedResource
- UPCGManagedComponentBase
- UPCGManagedComponentList
- UPCGManagedComponentDefaultList
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/PCGManagedResource.h |
| Include | #include "PCGManagedResource.h" |
Syntax
UCLASS (BlueprintType)
class UPCGManagedComponentList : public UPCGManagedComponentBase
Remarks
This managed resource class is used to tie multiple components in the same resource so that they are cleaned up all at the same time.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< TSoftObjectPtr< UActorComponent > > | GeneratedComponents |
Overridden from UPCGManagedComponentBase
| Type | Name | Description | |
|---|---|---|---|
| void | ForgetComponent
(
int32 ComponentIndex |
||
| TArrayView< TSoftObjectPtr< UActorComponent > > | |||
| int32 | |||
| void | HideComponent
(
int32 ComponentIndex |
Hides the content of the component in a transient way (such as unregistering) |
Overridden from UPCGManagedResource
| Type | Name | Description | |
|---|---|---|---|
| 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. |