Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/UPCGManagedResource
- UPCGManagedResource::ReleaseIfUnused()
- UPCGManagedActors::ReleaseIfUnused()
- UPCGManagedComponent::ReleaseIfUnused()
- UPCGManagedISMComponent::ReleaseIfUnused()
- UPCGManagedComponentList::ReleaseIfUnused()
- UPCGManagedISMComponent::ReleaseIfUnused()
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/PCGManagedResource.h |
| Include | #include "PCGManagedResource.h" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/PCGManagedResource.cpp |
virtual bool ReleaseIfUnused
(
TSet< TSoftObjectPtr< AActor > > & OutActorsToDelete
)
Remarks
Releases resource if empty or unused. Returns true if the resource can be removed from the PCG component