Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/UPCGActorAndComponentMapping
References
| Module | PCG |
| Header | /Engine/Plugins/Experimental/PCG/Source/PCG/Public/PCGActorAndComponentMapping.h |
| Include | #include "PCGActorAndComponentMapping.h" |
| Source | /Engine/Plugins/Experimental/PCG/Source/PCG/Private/PCGActorAndComponentMapping.cpp |
bool RemapPCGComponent
&40;
const UPCGComponent &42; OldComponent,
UPCGComponent &42; NewComponent,
bool bDoActorMapping
&41;
Remarks
In case of BP Actors, we need to remap the old component destroyed by the construction script to the new one. Returns true if a re-mapping was done. Thread safe