FObjectDuplicationParameters

This struct is used for passing parameter values to the StaticDuplicateObject() method.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h

Include

#include "UObject/UObjectGlobals.h"

Syntax

struct FObjectDuplicationParameters

Remarks

This struct is used for passing parameter values to the StaticDuplicateObject() method. Only the constructor parameters are required to be valid - all other members are optional.

Variables

Name Description

Public variable

EObjectFlags

 

ApplyFlags

A bitmask of EObjectFlags to set on each duplicate object created.

Public variable

EInternalObject...

 

ApplyInternalFlags

A bitmask of EInternalObjectFlags to set on each duplicate object created.

Public variable

bool

 

bAssignExternalPackages

If an object being duplicated as an assigned external package, the duplicated object will try to assign an associated package to itself.

Public variable

bool

 

bSkipPostLoad

If this option is true, then PostLoad won't be called on the new duplicated objects.

Public variable

TMap< UObject &...

 

CreatedObjects

If non-null, this will be filled with the list of objects created during the call to StaticDuplicateObject.

Public variable

UClass *

 

DestClass

Optional class to specify for the destination object.

Public variable

FName

 

DestName

The name to use for the duplicate of SourceObject

Public variable

UObject *

 

DestOuter

The object to use as the Outer for the duplicate of SourceObject.

Public variable

EDuplicateMode:...

 

DuplicateMode

Public variable

TMap< UObject &...

 

DuplicationSeed

Objects to use for prefilling the dup-source => dup-target map used by StaticDuplicateObject.

Public variable

EObjectFlags

 

FlagMask

A bitmask of EObjectFlags to propagate to the duplicate of SourceObject (and its subobjects).

Public variable

EInternalObject...

 

InternalFlagMask

A bitmask of EInternalObjectFlags to propagate to the duplicate of SourceObject (and its subobjects).

Public variable

uint32

 

PortFlags

Any PortFlags to be applied when serializing.

Public variable

UObject *

 

SourceObject

The object to be duplicated

Constructors

Name Description

Public function

FObjectDuplicationParameters

(
    UObject* InSourceObject,
    UObject* InDestOuter
)

Constructor

Constructor - zero initializes all members

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