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" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectGlobals.cpp |
UObject * DuplicateObject_Internal
(
UClass * Class,
const UObject * SourceObject,
UObject * Outer,
const FName NAME_None
)
Remarks
Convenience function for duplicating an object the copied object or null if it failed for some reason
Parameters
| Name | Description |
|---|---|
| Class | the class of the object being copied |
| SourceObject | the object being copied |
| Outer | the outer to use for the object |
| Name | the optional name of the object |