AInstancedFoliageActor::MoveInstancesToNewComponent

Change all instances based on one component to a new component (possible in another level).

Choose your operating system:

Windows

macOS

Linux

References

Module

Foliage

Header

/Engine/Source/Runtime/Foliage/Public/InstancedFoliageActor.h

Include

#include "InstancedFoliageActor.h"

Source

/Engine/Source/Runtime/Foliage/Private/InstancedFoliage.cpp

Syntax

static void MoveInstancesToNewComponent
(
    UWorld * InWorld,
    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