Navigation
API > API/Plugins > API/Plugins/DatasmithImporter > API/Plugins/DatasmithImporter/ObjectElements
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDatasmithObjectElement
- UDatasmithMetaDataElement
References
| Module | DatasmithImporter |
| Header | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/ObjectElements/DatasmithUObjectElements.h |
| Include | #include "ObjectElements/DatasmithUObjectElements.h" |
Syntax
UCLASS&40;&41;
class UDatasmithMetaDataElement : public UDatasmithObjectElement
Remarks
Variables
| Type | Name | Description | |
|---|---|---|---|
| TMap< TWeakPtr< IDatasmithKeyValueProperty >, UDatasmithKeyValueProperty * > | Properties |
Functions
| Type | Name | Description | |
|---|---|---|---|
| UDatasmithKeyValueProperty * | FindOrAddElement
(
const TSharedPtr< IDatasmithKeyValueProperty >& InElement |
||
| UDatasmithObjectElement * | Get the element that is associated with this meta data | ||
| TWeakPtr< IDatasmithMetaDataElement > | |||
| void | GetProperties
(
TArray< FString >& OutKeys, |
Get this metadata element properties as a map of keys and values | |
| int32 | UDatasmithMetaDataElement | ||
| UDatasmithKeyValueProperty * | GetProperty
(
int32 i |
Get the property i-th of this meta data | |
| UDatasmithKeyValueProperty * | GetPropertyByName
(
const FString& InName |
Get a property by its name if it exists | |
| bool | IsElementValid
(
const TWeakPtr< IDatasmithKeyValueProperty >& Element |
||
| void | SetDatasmithMetaDataElement
(
const TSharedPtr< IDatasmithMetaDataElement >& InElement |
Overridden from UDatasmithObjectElement
| Type | Name | Description | |
|---|---|---|---|
| TWeakPtr< IDatasmithElement > | TODO: They are not covariant because of the TWeakPtr, can't override in child. | ||
| bool | Is the Element still valid for the Datasmith Scene |