IDatasmithElement Class Referenceabstract

Root class for every element in a Datasmith scene. More...

#include <IDatasmithSceneElements.h>

Inheritance diagram for IDatasmithElement:
IDatasmithActorElement IDatasmithBaseAnimationElement IDatasmithBaseMaterialElement IDatasmithKeyValueProperty IDatasmithLevelSequenceElement IDatasmithMaterialIDElement IDatasmithMeshElement IDatasmithMetaDataElement IDatasmithPostProcessElement IDatasmithScene IDatasmithShaderElement IDatasmithTextureElement

Public Member Functions

virtual bool IsA (EDatasmithElementType Type) const =0
 returns if this DatasmithElement is of a specified type More...
 
virtual bool IsSubType (uint64 SubType) const =0
 returns if this DatasmithElement is of a specified subtype of its EDatasmithElementType More...
 
virtual const TCHAR * GetName () const =0
 Gets the element name. More...
 
virtual void SetName (const TCHAR *InName)=0
 Sets the element name. More...
 
virtual const TCHAR * GetLabel () const =0
 Gets the element label used in the UI. More...
 
virtual void SetLabel (const TCHAR *InLabel)=0
 Sets the element label used in the UI. More...
 
virtual FMD5Hash CalculateElementHash (bool bForce)=0
 Return a MD5 hash of the content of the Element. More...
 

Detailed Description

Root class for every element in a Datasmith scene.

Member Function Documentation

◆ CalculateElementHash()

virtual FMD5Hash IDatasmithElement::CalculateElementHash ( bool  bForce)
pure virtual

Return a MD5 hash of the content of the Element.

Used to quickly identify Element with identical content.

Parameters
bForceForce recalculation of the hash if it was already cached
Returns
The MD5 hash of the Element properties

Implemented in FDatasmithTextureElementImpl, and FDatasmithMeshElementImpl.

◆ GetLabel()

virtual const TCHAR* IDatasmithElement::GetLabel ( ) const
pure virtual

Gets the element label used in the UI.

◆ GetName()

virtual const TCHAR* IDatasmithElement::GetName ( ) const
pure virtual

Gets the element name.

◆ IsA()

virtual bool IDatasmithElement::IsA ( EDatasmithElementType  Type) const
pure virtual

returns if this DatasmithElement is of a specified type

◆ IsSubType()

virtual bool IDatasmithElement::IsSubType ( uint64  SubType) const
pure virtual

returns if this DatasmithElement is of a specified subtype of its EDatasmithElementType

◆ SetLabel()

virtual void IDatasmithElement::SetLabel ( const TCHAR *  InLabel)
pure virtual

Sets the element label used in the UI.

◆ SetName()

virtual void IDatasmithElement::SetName ( const TCHAR *  InName)
pure virtual

Sets the element name.


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