unreal.DatasmithMetaDataElement?

class unreal.DatasmithMetaDataElement(outer=None, name='None')?

Bases: unreal.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

Returns:
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

Returns:
Return type:int32
get_property(i) → DatasmithKeyValueProperty?

Get the property i-th of this meta data

Parameters:i (int32) –
Returns:
Return type:DatasmithKeyValueProperty
get_property_by_name(name) → DatasmithKeyValueProperty?

Get a property by its name if it exists

Parameters:name (str) –
Returns:
Return type:DatasmithKeyValueProperty