Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FBlueprintSupport
Description
Defined in BlueprintSupport.cpp Duplicates all fields of a struct in depth-first order. It makes sure that everything contained in a class is duplicated before the struct itself, as well as all function parameters before the function itself.
Defined in BlueprintSupport.cpp Duplicates all fields of a class in depth-first order. It makes sure that everything contained in a class is duplicated before the class itself, as well as all function parameters before the function itself.
| Name | DuplicateAllFields |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/Blueprint/BlueprintSupport.h |
| Include Path | #include "Blueprint/BlueprintSupport.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/Blueprint/BlueprintSupport.cpp |
static void DuplicateAllFields
(
class UStruct * StructToDuplicate,
class FDuplicateDataWriter & Writer
)
Parameters
| Name | Remarks |
|---|---|
| StructToDuplicate | Instance of the struct that is about to be duplicated |
| Writer | duplicate writer instance to write the duplicated data to |
| StructToDuplicate | Instance of the struct that is about to be duplicated |
| Writer | duplicate writer instance to write the duplicated data to |