Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FDuplicateDataWriter
Description
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.
| Name | GetDuplicatedObject |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/Serialization/DuplicatedDataWriter.h |
| Include Path | #include "Serialization/DuplicatedDataWriter.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/Serialization/DuplicateDataWriter.cpp |
UObject * GetDuplicatedObject
(
UObject * Object,
bool bCreateIfMissing
)
a pointer to the duplicate of the specified object
Parameters
| Name | Remarks |
|---|---|
| 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 |