Navigation
API > API/Plugins > API/Plugins/DatasmithContent > API/Plugins/DatasmithContent/ObjectTemplates > API/Plugins/DatasmithContent/ObjectTemplates/UDatasmithObjectTemplate
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 |
void Apply
&40;
UObject &42; Destination,
bool bForce
&41;
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
| Name | 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. |