ISMInstanceManager::DuplicateSMInstances

Attempt to duplicate the given static mesh instances, retrieving the IDs of any new instances.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Elements/SMInstance/SMInstanceManager.h

Include

#include "Elements/SMInstance/SMInstanceManager.h"

Syntax

bool DuplicateSMInstances
(
    TArrayView< const FSMInstanceId > InstanceIds,
    TArray< FSMInstanceId > & OutNewInstanceIds
)

Remarks

Attempt to duplicate the given static mesh instances, retrieving the IDs of any new instances.

Returns

True if any instances were duplicated, false otherwise.