Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/FPCGActorAndComponentMapping
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/PCGActorAndComponentMapping.h |
| Include | #include "PCGActorAndComponentMapping.h" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/PCGActorAndComponentMapping.cpp |
bool RemapPCGComponent
(
const UPCGComponent * OldComponent,
UPCGComponent * NewComponent,
bool bDoActorMapping
)
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