ITypedElementWorldInterface::DuplicateElements

Duplicate the given set of elements.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Elements/Interfaces/TypedElementWorldInterface.h

Include

#include "Elements/Interfaces/TypedElementWorldInterface.h"

Syntax

virtual void DuplicateElements
(
    TArrayView< const FTypedElementHandle > InElementHandles,
    UWorld * InWorld,
    const FVector & InLocationOffset,
    TArray< FTypedElementHandle > & OutNewElements
)

Remarks

Duplicate the given set of elements. @note If you want to duplicate an array of elements that are potentially different types, you probably want to use the higher-level UTypedElementCommonActions::DuplicateNormalizedElements function instead.