FDuplicateDataWriter::GetDuplicatedObject

Returns a pointer to the duplicate of a given object, creating the duplicate object if necessary.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/Serialization/DuplicatedDataWriter.h

Include

#include "Serialization/DuplicatedDataWriter.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/Serialization/DuplicateDataWriter.cpp

Syntax

UObject * GetDuplicatedObject
(
    UObject * Object,
    bool bCreateIfMissing
)

Remarks

Returns a pointer to the duplicate of a given object, creating the duplicate object if necessary.

Returns a pointer to the duplicate of a given object, creating the duplicate object if necessary.

Returns

a pointer to the duplicate of the specified object

Parameters

Parameter

Description

Object

the object to find a duplicate for

bCreateIfMissing

Create the duplicated object if it's missing.

Object

the object to find a duplicate for

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