Navigation
API > API/Plugins > API/Plugins/DatasmithContent
| Name | UDatasmithObjectTemplate |
| Type | class |
| Header File | /Engine/Plugins/Enterprise/DatasmithContent/Source/DatasmithContent/Public/ObjectTemplates/DatasmithObjectTemplate.h |
| Include Path | #include "ObjectTemplates/DatasmithObjectTemplate.h" |
Syntax
UCLASS (MinimalAPI, Abstract)
class UDatasmithObjectTemplate : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UDatasmithObjectTemplate
Derived Classes
UDatasmithObjectTemplate derived class hierarchy
- UDatasmithActorTemplate
- UDatasmithAreaLightActorTemplate
- UDatasmithCineCameraActorTemplate
- UDatasmithCineCameraComponentTemplate
- UDatasmithDecalComponentTemplate
- UDatasmithLandscapeTemplate
- UDatasmithLightComponentTemplate
- UDatasmithMaterialInstanceTemplate
- UDatasmithPointLightComponentTemplate
- UDatasmithPostProcessVolumeTemplate
- UDatasmithSceneComponentTemplate
- UDatasmithSkyLightComponentTemplate
- UDatasmithSpotLightComponentTemplate
- UDatasmithStaticMeshComponentTemplate
- UDatasmithStaticMeshTemplate
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| ObjectTemplates/DatasmithObjectTemplate.h | |||
UDatasmithObjectTemplate
(
bool bInIsActorTemplate |
ObjectTemplates/DatasmithObjectTemplate.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsActorTemplate | const bool | Is this template for an actor. | ObjectTemplates/DatasmithObjectTemplate.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Apply
(
UObject* Destination, |
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 | ObjectTemplates/DatasmithObjectTemplate.h | |
virtual bool Equals
(
const UDatasmithObjectTemplate* Other |
Returns if this template equals another template of the same type. | ObjectTemplates/DatasmithObjectTemplate.h | |
virtual void Load
(
const UObject* Source |
Fills this template properties with the values from the Source object. | ObjectTemplates/DatasmithObjectTemplate.h | |
| Updates the Destination object with the values stored in the object template | ObjectTemplates/DatasmithObjectTemplate.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool HasSameBase
(
const UDatasmithObjectTemplate* Other |
Returns if this template has the same base as another template of the same type, this indicates if their diffs can be safely compared. | ObjectTemplates/DatasmithObjectTemplate.h | |
virtual void LoadRebase
(
const UObject* Source, |
Fills this template properties with the values from the Source object after rebasing (changing its parent) with the base object defined in BaseTemplate. | ObjectTemplates/DatasmithObjectTemplate.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UDatasmithObjectTemplate * GetDifference
(
UObject* Destination, |
Returns the difference between the object template of the Destination object and the SourceTemplate object template | ObjectTemplates/DatasmithObjectTemplate.h |