Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject
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
| Type | Name | Description | |
|---|---|---|---|
| EObjectFlags | ApplyFlags | A bitmask of EObjectFlags to set on each duplicate object created. | |
| EInternalObjectFlags | ApplyInternalFlags | A bitmask of EInternalObjectFlags to set on each duplicate object created. | |
| bool | bAssignExternalPackages | If an object being duplicated as an assigned external package, the duplicated object will try to assign an associated package to itself. | |
| bool | bSkipPostLoad | If this option is true, then PostLoad won't be called on the new duplicated objects. | |
| TMap< UObject *, UObject * > * | CreatedObjects | If non-null, this will be filled with the list of objects created during the call to StaticDuplicateObject. | |
| UClass * | DestClass | Optional class to specify for the destination object. | |
| FName | DestName | The name to use for the duplicate of SourceObject | |
| UObject * | DestOuter | The object to use as the Outer for the duplicate of SourceObject. | |
| EDuplicateMode::Type | DuplicateMode | ||
| TMap< UObject *, UObject * > | DuplicationSeed | Objects to use for prefilling the dup-source => dup-target map used by StaticDuplicateObject. | |
| EObjectFlags | FlagMask | A bitmask of EObjectFlags to propagate to the duplicate of SourceObject (and its subobjects). | |
| EInternalObjectFlags | InternalFlagMask | A bitmask of EInternalObjectFlags to propagate to the duplicate of SourceObject (and its subobjects). | |
| uint32 | PortFlags | Any PortFlags to be applied when serializing. | |
| UObject * | SourceObject | The object to be duplicated |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FObjectDuplicationParameters
(
UObject* InSourceObject, |
ConstructorConstructor - zero initializes all members |