Module |
|
Header |
/Engine/Source/Runtime/Foliage/Public/InstancedFoliageActor.h |
Include |
#include "InstancedFoliageActor.h" |
Source |
/Engine/Source/Runtime/Foliage/Private/InstancedFoliage.cpp |
void MoveInstancesToNewComponent
(
UPrimitiveComponent * InOldComponent,
const FBox & InBoxWithInstancesToMove,
UPrimitiveComponent * InNewComponent
)
Change all instances based on one component to a new component (possible in another level). The instances keep the same world locations