FDatasmithObjectTemplateUtils::ThreeWaySetMerge

Based on existing data, last import and current import, deduce resulting data that reflects User work.

Windows
MacOS
Linux

References

Module

DatasmithContent

Header

/Engine/Plugins/Enterprise/DatasmithContent/Source/DatasmithContent/Public/ObjectTemplates/DatasmithObjectTemplate.h

Include

#include "ObjectTemplates/DatasmithObjectTemplate.h"

Source

/Engine/Plugins/Enterprise/DatasmithContent/Source/DatasmithContent/Private/ObjectTemplates/DatasmithObjectTemplate.cpp

Syntax

static TSet< FName > ThreeWaySetMerge
(
    const TSet< FName > & OldSet,
    const TSet< FName > & CurrentSet,
    const TSet< FName > & NewSet
)

Remarks

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

Returns

Merged data set

Parameters

Parameter

Description

OldSet

Previously imported set

CurrentSet

Data after user edition

NewSet

Data being imported

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