Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/UPCGComponent
- UActorComponent::OnComponentDestroyed()
- UPCGComponent::OnComponentDestroyed()
References
| Module | PCG |
| Header | /Engine/Plugins/Experimental/PCG/Source/PCG/Public/PCGComponent.h |
| Include | #include "PCGComponent.h" |
| Source | /Engine/Plugins/Experimental/PCG/Source/PCG/Private/PCGComponent.cpp |
virtual void OnComponentDestroyed
&40;
bool bDestroyingHierarchy
&41;
Remarks
Called when a component is destroyed
Parameters
| Name | Description |
|---|---|
| bDestroyingHierarchy | True if the entire component hierarchy is being torn down, allows avoiding expensive operations |