IDatasmithMaterialExpressionGeneric Class Referenceabstract
Inheritance diagram for IDatasmithMaterialExpressionGeneric:
IDatasmithMaterialExpression FDatasmithMaterialExpressionImpl< IDatasmithMaterialExpressionGeneric > FDatasmithMaterialExpressionGenericImpl

Public Member Functions

virtual void SetExpressionName (const TCHAR *InExpressionName)=0
 
virtual const TCHAR * GetExpressionName () const =0
 
virtual int32 GetPropertiesCount () const =0
 Get the total amount of properties in this expression. More...
 
virtual const TSharedPtr< IDatasmithKeyValueProperty > & GetProperty (int32 i) const =0
 Get the property i-th of this expression. 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 expression. More...
 
- Public Member Functions inherited from IDatasmithMaterialExpression
virtual const TCHAR * GetName () const =0
 The name of the expression. More...
 
virtual void SetName (const TCHAR *InName)=0
 
virtual EDatasmithMaterialExpressionType GetType () const =0
 
bool IsA (const EDatasmithMaterialExpressionType ExpressionType) const
 
virtual void ConnectExpression (IDatasmithExpressionInput &ExpressionInput)=0
 Connects the default output to an expression input. More...
 
virtual void ConnectExpression (IDatasmithExpressionInput &ExpressionInput, int32 OutputIndex)=0
 Connects a specific output to an expression input. More...
 
virtual int32 GetInputCount () const =0
 
virtual IDatasmithExpressionInput * GetInput (int32 Index)=0
 
virtual const IDatasmithExpressionInput * GetInput (int32 Index) const =0
 
virtual int32 GetDefaultOutputIndex () const =0
 The output index to use by default for this expression when connecting it to other inputs. More...
 
virtual void SetDefaultOutputIndex (int32 OutputIndex)=0
 

Member Function Documentation

◆ AddProperty()

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

Add a property to this expression.

Implemented in FDatasmithMaterialExpressionGenericImpl.

◆ GetPropertiesCount()

virtual int32 IDatasmithMaterialExpressionGeneric::GetPropertiesCount ( ) const
pure virtual

Get the total amount of properties in this expression.

Implemented in FDatasmithMaterialExpressionGenericImpl.

◆ GetProperty()

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

Get the property i-th of this expression.

Implemented in FDatasmithMaterialExpressionGenericImpl.

◆ GetPropertyByName()

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

Get a property by its name if it exists.

Implemented in FDatasmithMaterialExpressionGenericImpl.


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