FDatasmithImporterUtils::StaticDuplicateObject

Convenience function duplicating an object specifically optimized for datasmith use cases

Windows
MacOS
Linux

References

Module

DatasmithImporter

Header

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/Utility/DatasmithImporterUtils.h

Include

#include "Utility/DatasmithImporterUtils.h"

Source

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Private/Utility/DatasmithImporterUtils.cpp

Syntax

static UObject * StaticDuplicateObject
(
    UObject * SourceObject,
    UObject * Outer,
    const FName Name
)

Remarks

Convenience function duplicating an object specifically optimized for datasmith use cases

Returns

the copied object or null if it failed for some reason

Parameters

Parameter

Description

SourceObject

the object being copied

Outer

the outer to use for the object

Name

the optional name of the object

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss