UDatasmithActorTemplate

Hold template informations common to all AActors.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

DatasmithContent

Header

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

Include

#include "ObjectTemplates/DatasmithActorTemplate.h"

Syntax

UCLASS()
class UDatasmithActorTemplate : public UDatasmithObjectTemplate

Remarks

Hold template informations common to all AActors.

Variables

Name Description

Public variable UProperty

TSet< FName >

 

Layers

Layers this actor belongs to.

Public variable UProperty

TSet< FName >

 

Tags

Tags on this actor. (see AActor::Tags)

Constructors

Name Description

Public function

UDatasmithActorTemplate()

Functions

Name Description

Public function Static

T *

 

GetActor

(
    UObject* Object
)

Helper function to get the typed Actor from either a component or an actor

Public function Static

const T *...

 

GetActor

(
    const UObject* Object
)

Overridden from UDatasmithObjectTemplate

Name Description

Public function Virtual Const

bool

 

Equals

(
    const UDatasmithObjectTemplate*...
)

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

Public function Virtual

void

 

Load

(
    const UObject* Source
)

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

Public function Virtual

UObject *...

 

UpdateObject

(
    UObject* Destination,
    bool bForce
)

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