Navigation
API > API/Plugins > API/Plugins/DatasmithContent > API/Plugins/DatasmithContent/ObjectTemplates
Inheritance Hierarchy
- UObject
- UDatasmithObjectTemplate
- UDatasmithActorTemplate
- UDatasmithAreaLightActorTemplate
- UDatasmithCineCameraActorTemplate
- UDatasmithCineCameraComponentTemplate
- UDatasmithDecalComponentTemplate
- UDatasmithLandscapeTemplate
- UDatasmithLightComponentTemplate
- UDatasmithMaterialInstanceTemplate
- UDatasmithPointLightComponentTemplate
- UDatasmithPostProcessVolumeTemplate
- UDatasmithSceneComponentTemplate
- UDatasmithSkyLightComponentTemplate
- UDatasmithSpotLightComponentTemplate
- UDatasmithStaticMeshComponentTemplate
- UDatasmithStaticMeshTemplate
References
| Module | DatasmithContent |
| Header | /Engine/Plugins/Enterprise/DatasmithContent/Source/DatasmithContent/Public/ObjectTemplates/DatasmithObjectTemplate.h |
| Include | #include "ObjectTemplates/DatasmithObjectTemplate.h" |
Syntax
UCLASS (Abstract)
class UDatasmithObjectTemplate : public UObject
Variables
| Type | Name | Description | |
|---|---|---|---|
| const bool | bIsActorTemplate | Is this template for an actor. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UDatasmithObjectTemplate
(
bool bInIsActorTemplate |
Functions
| Type | Name | Description | |
|---|---|---|---|
| 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 | |
| bool | Equals
(
const UDatasmithObjectTemplate* Other |
Returns if this template equals another template of the same type. | |
| UDatasmithObjectTemplate * | GetDifference
(
UObject* Destination, |
Returns the difference between the object template of the Destination object and the SourceTemplate object template | |
| 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. | |
| void | Load
(
const UObject* Source |
Fills this template properties with the values from the Source object. | |
| 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. | |
| UObject * | UpdateObject
(
UObject* Destination, |
Updates the Destination object with the values stored in the object template |