IDatasmithMasterMaterialElement Class Referenceabstract
Inheritance diagram for IDatasmithMasterMaterialElement:
IDatasmithBaseMaterialElement IDatasmithElement FDatasmithElementImpl< IDatasmithMasterMaterialElement > FDatasmithBaseMaterialElementImpl< IDatasmithMasterMaterialElement > FDatasmithMasterMaterialElementImpl

Public Member Functions

virtual EDatasmithMasterMaterialType GetMaterialType () const =0
 
virtual void SetMaterialType (EDatasmithMasterMaterialType InType)=0
 
virtual EDatasmithMasterMaterialQuality GetQuality () const =0
 
virtual void SetQuality (EDatasmithMasterMaterialQuality InQuality)=0
 
virtual const TCHAR * GetCustomMaterialPathName () const =0
 Only used when the material type is set to Custom. More...
 
virtual void SetCustomMaterialPathName (const TCHAR *InPathName)=0
 
virtual int32 GetPropertiesCount () const =0
 Get the total amount of properties in this material. More...
 
virtual const TSharedPtr< IDatasmithKeyValueProperty > & GetProperty (int32 i) const =0
 Get the property i-th of this material. More...
 
virtual TSharedPtr< IDatasmithKeyValueProperty > & GetProperty (int32 i)=0
 
virtual const TSharedPtr< IDatasmithKeyValueProperty > & GetPropertyByName (const TCHAR *Name) const =0
 Get a property by its name if it exists. More...
 
virtual TSharedPtr< IDatasmithKeyValueProperty > & GetPropertyByName (const TCHAR *Name)=0
 
virtual void AddProperty (const TSharedPtr< IDatasmithKeyValueProperty > &Property)=0
 Add a property to this material. More...
 
- Public Member Functions inherited from IDatasmithElement
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...
 

Member Function Documentation

◆ AddProperty()

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

Add a property to this material.

Implemented in FDatasmithMasterMaterialElementImpl.

◆ GetCustomMaterialPathName()

virtual const TCHAR* IDatasmithMasterMaterialElement::GetCustomMaterialPathName ( ) const
pure virtual

Only used when the material type is set to Custom.

The path name to an existing material to instantiate.

Implemented in FDatasmithMasterMaterialElementImpl.

◆ GetPropertiesCount()

virtual int32 IDatasmithMasterMaterialElement::GetPropertiesCount ( ) const
pure virtual

Get the total amount of properties in this material.

Implemented in FDatasmithMasterMaterialElementImpl.

◆ GetProperty()

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

Get the property i-th of this material.

Implemented in FDatasmithMasterMaterialElementImpl.

◆ GetPropertyByName()

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

Get a property by its name if it exists.

Implemented in FDatasmithMasterMaterialElementImpl.


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