Navigation
API > API/Plugins > API/Plugins/DatasmithContent > API/Plugins/DatasmithContent/ObjectTemplates > API/Plugins/DatasmithContent/ObjectTemplates/UDatasmithObjectTemplate
- UDatasmithObjectTemplate::LoadRebase()
- UDatasmithMaterialInstanceTemplate::LoadRebase()
References
| Module | DatasmithContent |
| Header | /Engine/Plugins/Enterprise/DatasmithContent/Source/DatasmithContent/Public/ObjectTemplates/DatasmithObjectTemplate.h |
| Include | #include "ObjectTemplates/DatasmithObjectTemplate.h" |
virtual void LoadRebase
(
const UObject * Source,
const UDatasmithObjectTemplate * BaseTemplate,
bool bLoadDiff
)
Remarks
Fills this template properties with the values from the Source object after rebasing (changing its parent) with the base object defined in BaseTemplate.
Parameters
| Name | Description |
|---|---|
| Source | The object to get the template from. |
| BaseTemplate | The template which is using a different base object. Its base will be used to rebase the template. |
| bMergeTemplate | If True, the loaded template will merge the changes contained in the BaseTemplate as well. |