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

Public Member Functions

virtual EDatasmithMaterialExpressionType GetType () const override
 
virtual void SetExpressionName (const TCHAR *InExpressionName) override
 
virtual const TCHAR * GetExpressionName () const override
 
int32 GetPropertiesCount () const override
 Get the total amount of properties in this expression. More...
 
const TSharedPtr< IDatasmithKeyValueProperty > & GetProperty (int32 InIndex) const override
 Get the property i-th of this expression. More...
 
TSharedPtr< IDatasmithKeyValueProperty > & GetProperty (int32 InIndex) override
 
const TSharedPtr< IDatasmithKeyValueProperty > & GetPropertyByName (const TCHAR *InName) const override
 Get a property by its name if it exists. More...
 
TSharedPtr< IDatasmithKeyValueProperty > & GetPropertyByName (const TCHAR *InName) override
 
void AddProperty (const TSharedPtr< IDatasmithKeyValueProperty > &InProperty) override
 Add a property to this expression. More...
 
virtual int32 GetInputCount () const override
 
virtual IDatasmithExpressionInput * GetInput (int32 Index) override
 
virtual const IDatasmithExpressionInput * GetInput (int32 Index) const override
 
- Public Member Functions inherited from FDatasmithMaterialExpressionImpl< IDatasmithMaterialExpressionGeneric >
virtual const TCHAR * GetName () const override
 
virtual void SetName (const TCHAR *InName) override
 
virtual void ConnectExpression (IDatasmithExpressionInput &ExpressionInput) override
 
virtual void ConnectExpression (IDatasmithExpressionInput &ExpressionInput, int32 OutputIndex) override
 
virtual int32 GetDefaultOutputIndex () const override
 
virtual void SetDefaultOutputIndex (int32 InDefaultOutputIndex) override
 
- Public Member Functions inherited from IDatasmithMaterialExpression
bool IsA (const EDatasmithMaterialExpressionType ExpressionType) const
 

Static Public Attributes

static TSharedPtr< IDatasmithKeyValueProperty > NullPropertyPtr
 

Protected Attributes

TArray< FDatasmithExpressionInputImpl< IDatasmithExpressionInput > > Inputs
 
FString ExpressionName
 
TArray< TSharedPtr< IDatasmithKeyValueProperty > > Properties
 
TMap< FString, int > PropertyIndexMap
 
- Protected Attributes inherited from FDatasmithMaterialExpressionImpl< IDatasmithMaterialExpressionGeneric >
TArray< FDatasmithExpressionOutputImpl > Outputs
 
FString Name
 
int32 DefaultOutputIndex
 

Member Function Documentation

◆ AddProperty()

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

Add a property to this expression.

Implements IDatasmithMaterialExpressionGeneric.

◆ GetPropertiesCount()

int32 FDatasmithMaterialExpressionGenericImpl::GetPropertiesCount ( ) const
inlineoverridevirtual

Get the total amount of properties in this expression.

Implements IDatasmithMaterialExpressionGeneric.

◆ GetProperty()

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

Get the property i-th of this expression.

Implements IDatasmithMaterialExpressionGeneric.

◆ GetPropertyByName()

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

Get a property by its name if it exists.

Implements IDatasmithMaterialExpressionGeneric.


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