Navigation
Unreal Engine C++ API Reference > Plugins > DatasmithContent > ObjectTemplates > UDatasmithMaterialInstanceTemplate
- UDatasmithObjectTemplate::LoadRebase()
- UDatasmithMaterialInstanceTemplate::LoadRebase()
References
Module | DatasmithContent |
Header | /Engine/Plugins/Enterprise/DatasmithContent/Source/DatasmithContent/Public/ObjectTemplates/DatasmithMaterialInstanceTemplate.h |
Include | #include "ObjectTemplates/DatasmithMaterialInstanceTemplate.h" |
Source | /Engine/Plugins/Enterprise/DatasmithContent/Source/DatasmithContent/Private/ObjectTemplates/DatasmithMaterialInstanceTemplate.cpp |
virtual void LoadRebase
&40;
const UObject &42; Source,
const UDatasmithObjectTemplate &42; BaseTemplate,
bool bLoadDiff
&41;
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. |