FDuplicateDataWriter::FDuplicateDataWriter

Constructor Constructor

Choose your operating system:

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

FDuplicateDataWriter
(
    FUObjectAnnotationSparse< FDuplicatedObject, false > & InDuplicatedObjects,
    FLargeMemoryData & InObjectData,
    UObject * SourceObject,
    UObject * DestObject,
    EObjectFlags InFlagMask,
    EObjectFlags InApplyMask,
    EInternalObjectFlags InInternalFlagMask,
    EInternalObjectFlags InApplyInternalFlags,
    FObjectInstancingGraph * InInstanceGraph,
    uint32 InPortFlags,
    bool InAssignExternalPackages
)

Remarks

Constructor

Constructor

Parameters

Parameter

Description

InDuplicatedObjects

Annotation for storing a mapping from source to duplicated object

InObjectData

will store the serialized data

SourceObject

the object to copy

DestObject

the object to copy to

InFlagMask

the flags that should be copied when the object is duplicated

InApplyFlags

the flags that should always be set on the duplicated objects (regardless of whether they're set on the source)

InInstanceGraph

the instancing graph to use when creating the duplicate objects.

InDuplicatedObjects

will contain the original object -> copy mappings

InObjectData

will store the serialized data

SourceObject

the object to copy

DestObject

the object to copy to

InFlagMask

the flags that should be copied when the object is duplicated

InApplyFlags

the flags that should always be set on the duplicated objects (regardless of whether they're set on the source)

InInstanceGraph

the instancing graph to use when creating the duplicate objects.