UDatasmithMetaDataElement

[UDatasmithMetaDataElement](API\Plugins\DatasmithImporter\ObjectElements\UDatasmithMetaDataElement)

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

DatasmithImporter

Header

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/ObjectElements/DatasmithUObjectElements.h

Include

#include "ObjectElements/DatasmithUObjectElements.h"

Syntax

UCLASS()
class UDatasmithMetaDataElement : public UDatasmithObjectElement

Remarks

Variables

Name Description

Protected variable

TMap< TWeakPtr<...

 

Properties

Functions

Name Description

Public function

UDatasmithKe...

 

FindOrAddElement

(
    const TSharedPtr< IDatasmithKeyValu...
)

Public function Const UFunction BlueprintCallable, Category

UDatasmithOb...

 

GetAssociatedElement()

Get the element that is associated with this meta data

Public function Const

TWeakPtr< ID...

 

GetDatasmithMetaDataElement()

Public function UFunction BlueprintCallable, Category

void

 

GetProperties

(
    TArray< FString >& OutKeys,
    TArray< FString >& OutValues
)

Get this metadata element properties as a map of keys and values

Public function Const UFunction BlueprintCallable, Category

int32

 

GetPropertiesCount()

UDatasmithMetaDataElement

Public function UFunction BlueprintCallable, Category

UDatasmithKe...

 

GetProperty

(
    int32 i
)

Get the property i-th of this meta data

Public function UFunction BlueprintCallable, Category

UDatasmithKe...

 

GetPropertyByName

(
    const FString& InName
)

Get a property by its name if it exists

Public function Const

bool

 

IsElementValid

(
    const TWeakPtr< IDatasmithKeyValueP...
)

Public function

void

 

SetDatasmithMetaDataElement

(
    const TSharedPtr< IDatasmithMetaDat...
)

Overridden from UDatasmithObjectElement

Name Description

Protected function Virtual Const

TWeakPtr< ID...

 

GetIDatasmithElement()

TODO: They are not covariant because of the TWeakPtr, can't override in child.

Public function Virtual Const

bool

 

IsElementValid()

Is the Element still valid for the Datasmith Scene