UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IDatasmithMetaDataElement Class Referenceabstract

#include <IDatasmithSceneElements.h>

+ Inheritance diagram for IDatasmithMetaDataElement:

Public Member Functions

virtual const TSharedPtr< IDatasmithElement > & GetAssociatedElement () const =0
 
virtual void SetAssociatedElement (const TSharedPtr< IDatasmithElement > &Element)=0
 
virtual int32 GetPropertiesCount () const =0
 
virtual const TSharedPtr< IDatasmithKeyValueProperty > & GetProperty (int32 i) const =0
 
virtual const TSharedPtr< IDatasmithKeyValueProperty > & GetPropertyByName (const TCHAR *Name) const =0
 
virtual void AddProperty (const TSharedPtr< IDatasmithKeyValueProperty > &Property)=0
 
virtual void RemoveProperty (const TSharedPtr< IDatasmithKeyValueProperty > &Property)=0
 
virtual void ResetProperties ()=0
 
- Public Member Functions inherited from IDatasmithElement
virtual bool IsA (EDatasmithElementType Type) const =0
 
virtual const TCHARGetName () const =0
 
virtual void SetName (const TCHAR *InName)=0
 
virtual const TCHARGetLabel () const =0
 
virtual void SetLabel (const TCHAR *InLabel)=0
 
virtual FMD5Hash CalculateElementHash (bool bForce)=0
 

Member Function Documentation

◆ AddProperty()

virtual void IDatasmithMetaDataElement::AddProperty ( const TSharedPtr< IDatasmithKeyValueProperty > &  Property)
pure virtual

Add a property to this meta data

Implemented in FDatasmithMetaDataElementImpl.

◆ GetAssociatedElement()

virtual const TSharedPtr< IDatasmithElement > & IDatasmithMetaDataElement::GetAssociatedElement ( ) const
pure virtual

Gets the Datasmith element that is associated with this meta data, if any

Implemented in FDatasmithMetaDataElementImpl.

◆ GetPropertiesCount()

virtual int32 IDatasmithMetaDataElement::GetPropertiesCount ( ) const
pure virtual

Get the total amount of properties in this meta data

Implemented in FDatasmithMetaDataElementImpl.

◆ GetProperty()

virtual const TSharedPtr< IDatasmithKeyValueProperty > & IDatasmithMetaDataElement::GetProperty ( int32  i) const
pure virtual

Get the property i-th of this meta data

Implemented in FDatasmithMetaDataElementImpl.

◆ GetPropertyByName()

virtual const TSharedPtr< IDatasmithKeyValueProperty > & IDatasmithMetaDataElement::GetPropertyByName ( const TCHAR Name) const
pure virtual

Get a property by its name if it exists

Implemented in FDatasmithMetaDataElementImpl.

◆ RemoveProperty()

virtual void IDatasmithMetaDataElement::RemoveProperty ( const TSharedPtr< IDatasmithKeyValueProperty > &  Property)
pure virtual

Remove the property from this meta data

Implemented in FDatasmithMetaDataElementImpl.

◆ ResetProperties()

virtual void IDatasmithMetaDataElement::ResetProperties ( )
pure virtual

Remove all properties in this meta data

Implemented in FDatasmithMetaDataElementImpl.

◆ SetAssociatedElement()

virtual void IDatasmithMetaDataElement::SetAssociatedElement ( const TSharedPtr< IDatasmithElement > &  Element)
pure virtual

Sets the Datasmith element that is associated with this meta data, if any

Implemented in FDatasmithMetaDataElementImpl.


The documentation for this class was generated from the following file: