unreal.DatasmithMetaDataElement

class unreal.DatasmithMetaDataElement(outer: Optional[Object] = None, name: Union[Name, str] = 'None')

Bases: DatasmithObjectElement

  • UDatasmithMetaDataElement

C++ Source:

  • Plugin: DatasmithImporter

  • Module: DatasmithImporter

  • File: DatasmithUObjectElements.h

get_associated_element() DatasmithObjectElement

Get the element that is associated with this meta data

Return type:

DatasmithObjectElement

get_properties() -> (out_keys=Array[str], out_values=Array[str])

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

Returns:

out_keys (Array[str]):

out_values (Array[str]):

Return type:

tuple

get_properties_count() int32

Get Properties Count

Return type:

int32

get_property(i) DatasmithKeyValueProperty

Get the property i-th of this meta data

Parameters:

i (int32) –

Return type:

DatasmithKeyValueProperty

get_property_by_name(name) DatasmithKeyValueProperty

Get a property by its name if it exists

Parameters:

name (str) –

Return type:

DatasmithKeyValueProperty