UInstancedStaticMeshComponent::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

ISMInstanceManager::DuplicateSMInstances()

UInstancedStaticMeshComponent::DuplicateSMInstances()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/InstancedStaticMeshComponent.h

Include

#include "Components/InstancedStaticMeshComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/InstancedStaticMesh.cpp

Syntax

virtual 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.