UDatasmithObjectTemplate::Apply

Updates the Destination object with the values stored in the object template If the update is successful, replaces the object template of the Destination object with itself

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

void Apply
(
    UObject * Destination,
    bool bForce
)

Remarks

Updates the Destination object with the values stored in the object template If the update is successful, replaces the object template of the Destination object with itself

Parameters

Parameter

Description

Destination

The object to apply this template to

bForce

Force the update of the template on all properties, even if they were changed from the previous template values.

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