UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FDatasmithMetaDataElementImpl Class Reference

#include <DatasmithSceneElementsImpl.h>

+ Inheritance diagram for FDatasmithMetaDataElementImpl:

Public Member Functions

UE_API FDatasmithMetaDataElementImpl (const TCHAR *InName)
 
virtual const TSharedPtr< IDatasmithElement > & GetAssociatedElement () const override
 
virtual void SetAssociatedElement (const TSharedPtr< IDatasmithElement > &Element)
 
virtual int32 GetPropertiesCount () const override
 
virtual UE_API const TSharedPtr< IDatasmithKeyValueProperty > & GetProperty (int32 i) const override
 
virtual UE_API const TSharedPtr< IDatasmithKeyValueProperty > & GetPropertyByName (const TCHAR *InName) const override
 
virtual UE_API void AddProperty (const TSharedPtr< IDatasmithKeyValueProperty > &Property) override
 
virtual UE_API void RemoveProperty (const TSharedPtr< IDatasmithKeyValueProperty > &Property) override
 
virtual UE_API void ResetProperties () override
 
- Public Member Functions inherited from FDatasmithElementImpl< IDatasmithMetaDataElement >
 FDatasmithElementImpl (const TCHAR *InName, EDatasmithElementType InType, uint64 InSubType=0)
 
virtual ~FDatasmithElementImpl ()
 
virtual bool IsA (EDatasmithElementType InType) const override
 
virtual const TCHARGetName () const override
 
virtual void SetName (const TCHAR *InName) override
 
virtual const TCHARGetLabel () const override
 
virtual void SetLabel (const TCHAR *InLabel) override
 
virtual FMD5Hash CalculateElementHash (bool) override
 
virtual TSharedPtr< DirectLink::FSceneGraphSharedStateMakeSharedState () const override
 
virtual const DirectLink::FParameterStoreGetStore () const override
 
virtual DirectLink::FParameterStoreGetStore () override
 

Additional Inherited Members

- Protected Member Functions inherited from FDatasmithElementImpl< IDatasmithMetaDataElement >
virtual bool IsSubTypeInternal (uint64 InSubType) const
 
EDatasmithElementType GetElementType () const
 
uint64 GetSubType () const
 
- Protected Attributes inherited from FDatasmithElementImpl< IDatasmithMetaDataElement >
FMD5Hash ElementHash
 
DirectLink::FParameterStore Store
 
TReflected< EDatasmithElementType, uint64Type
 
TReflected< uint64Subtype
 
TReflected< FString > Name
 
TReflected< FString > Label
 

Constructor & Destructor Documentation

◆ FDatasmithMetaDataElementImpl()

FDatasmithMetaDataElementImpl::FDatasmithMetaDataElementImpl ( const TCHAR InName)
explicit

Member Function Documentation

◆ AddProperty()

void FDatasmithMetaDataElementImpl::AddProperty ( const TSharedPtr< IDatasmithKeyValueProperty > &  Property)
overridevirtual

Add a property to this meta data

Implements IDatasmithMetaDataElement.

◆ GetAssociatedElement()

virtual const TSharedPtr< IDatasmithElement > & FDatasmithMetaDataElementImpl::GetAssociatedElement ( ) const
inlineoverridevirtual

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

Implements IDatasmithMetaDataElement.

◆ GetPropertiesCount()

virtual int32 FDatasmithMetaDataElementImpl::GetPropertiesCount ( ) const
inlineoverridevirtual

Get the total amount of properties in this meta data

Implements IDatasmithMetaDataElement.

◆ GetProperty()

const TSharedPtr< IDatasmithKeyValueProperty > & FDatasmithMetaDataElementImpl::GetProperty ( int32  i) const
overridevirtual

Get the property i-th of this meta data

Implements IDatasmithMetaDataElement.

◆ GetPropertyByName()

const TSharedPtr< IDatasmithKeyValueProperty > & FDatasmithMetaDataElementImpl::GetPropertyByName ( const TCHAR Name) const
overridevirtual

Get a property by its name if it exists

Implements IDatasmithMetaDataElement.

◆ RemoveProperty()

void FDatasmithMetaDataElementImpl::RemoveProperty ( const TSharedPtr< IDatasmithKeyValueProperty > &  Property)
overridevirtual

Remove the property from this meta data

Implements IDatasmithMetaDataElement.

◆ ResetProperties()

void FDatasmithMetaDataElementImpl::ResetProperties ( )
overridevirtual

Remove all properties in this meta data

Implements IDatasmithMetaDataElement.

◆ SetAssociatedElement()

virtual void FDatasmithMetaDataElementImpl::SetAssociatedElement ( const TSharedPtr< IDatasmithElement > &  Element)
inlinevirtual

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

Implements IDatasmithMetaDataElement.


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