Navigation
API > API/Plugins > API/Plugins/DatasmithContent > API/Plugins/DatasmithContent/FDatasmithObjectTemplateUtils
Description
Based on existing data, last import and current import, deduce resulting data that reflects User work.
- Use values from the new set
- Keep User-added values
- Ignore User-removed values
| Name | ThreeWaySetMerge |
| Type | function |
| Header File | /Engine/Plugins/Enterprise/DatasmithContent/Source/DatasmithContent/Public/ObjectTemplates/DatasmithObjectTemplate.h |
| Include Path | #include "ObjectTemplates/DatasmithObjectTemplate.h" |
| Source | /Engine/Plugins/Enterprise/DatasmithContent/Source/DatasmithContent/Private/ObjectTemplates/DatasmithObjectTemplate.cpp |
static TSet< FName > ThreeWaySetMerge
(
const TSet< FName > & OldSet,
const TSet< FName > & CurrentSet,
const TSet< FName > & NewSet
)
Merged data set
Parameters
| Name | Remarks |
|---|---|
| OldSet | Previously imported set |
| CurrentSet | Data after user edition |
| NewSet | Data being imported |