UDatasmithObjectTemplate

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

DatasmithContent

Header

/Engine/Plugins/Enterprise/DatasmithContent/Source/DatasmithContent/Public/ObjectTemplates/DatasmithObjectTemplate.h

Include

#include "ObjectTemplates/DatasmithObjectTemplate.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(Abstract)
class UDatasmithObjectTemplate : public UObject

Variables

Name Description

Public variable

const bool

 

bIsActorTemplate

Is this template for an actor.

Constructors

Name Description

Public function

UDatasmithObjectTemplate()

Public function

UDatasmithObjectTemplate

(
    bool bInIsActorTemplate
)

Functions

Name Description

Public function

void

 

Apply

(
    UObject* Destination,
    bool bForce
)

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

Public function Virtual Const

bool

 

Equals

(
    const UDatasmithObjectTemplate*...
)

Returns if this template equals another template of the same type.

Public function Static

UDatasmithOb...

 

GetDifference

(
    UObject* Destination,
    UDatasmithObjectTemplate* Sour...
)

Returns the difference between the object template of the Destination object and the SourceTemplate object template

Protected function Virtual Const

bool

 

HasSameBase

(
    const UDatasmithObjectTemplate*...
)

Returns if this template has the same base as another template of the same type, this indicates if their diffs can be safely compared.

Public function Virtual

void

 

Load

(
    const UObject* Source
)

Fills this template properties with the values from the Source object.

Protected function Virtual

void

 

LoadRebase

(
    const UObject* Source,
    const UDatasmithObjectTemplate*...,
    bool bLoadDiff
)

Fills this template properties with the values from the Source object after rebasing (changing its parent) with the base object defined in BaseTemplate.

Public function Virtual

UObject *...

 

UpdateObject

(
    UObject* Destination,
    bool bForce
)

Updates the Destination object with the values stored in the object template

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss