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