Public Member Functions | |
| virtual IDatasmithExpressionInput & | GetBaseColor ()=0 |
| virtual IDatasmithExpressionInput & | GetMetallic ()=0 |
| virtual IDatasmithExpressionInput & | GetSpecular ()=0 |
| virtual IDatasmithExpressionInput & | GetRoughness ()=0 |
| virtual IDatasmithExpressionInput & | GetEmissiveColor ()=0 |
| virtual IDatasmithExpressionInput & | GetOpacity ()=0 |
| virtual IDatasmithExpressionInput & | GetNormal ()=0 |
| virtual IDatasmithExpressionInput & | GetWorldDisplacement ()=0 |
| virtual IDatasmithExpressionInput & | GetRefraction ()=0 |
| virtual IDatasmithExpressionInput & | GetAmbientOcclusion ()=0 |
| virtual IDatasmithExpressionInput & | GetMaterialAttributes ()=0 |
| virtual int | GetBlendMode () const =0 |
| virtual void | SetBlendMode (int bInBlendMode)=0 |
| virtual bool | GetTwoSided () const =0 |
| virtual void | SetTwoSided (bool bTwoSided)=0 |
| virtual bool | GetUseMaterialAttributes () const =0 |
| virtual void | SetUseMaterialAttributes (bool bInUseMaterialAttributes)=0 |
| virtual bool | GetMaterialFunctionOnly () const =0 |
| If a material is only referenced by other materials then it is only used as a material function and there is no need to instantiate it. More... | |
| virtual void | SetMaterialFunctionOnly (bool bInMaterialFunctionOnly)=0 |
| virtual int32 | GetExpressionsCount () const =0 |
| virtual IDatasmithMaterialExpression * | GetExpression (int32 Index)=0 |
| virtual int32 | GetExpressionIndex (const IDatasmithMaterialExpression *Expression) const =0 |
| virtual IDatasmithMaterialExpression * | AddMaterialExpression (const EDatasmithMaterialExpressionType ExpressionType)=0 |
| template<typename T > | |
| T * | AddMaterialExpression () |
| virtual void | SetParentLabel (const TCHAR *InParentLabel)=0 |
| If a parent material is generated from this material, this will be its label. More... | |
| virtual const TCHAR * | GetParentLabel () const =0 |
| template<> | |
| IDatasmithMaterialExpressionBool * | AddMaterialExpression () |
| template<> | |
| IDatasmithMaterialExpressionColor * | AddMaterialExpression () |
| template<> | |
| IDatasmithMaterialExpressionFlattenNormal * | AddMaterialExpression () |
| template<> | |
| IDatasmithMaterialExpressionFunctionCall * | AddMaterialExpression () |
| template<> | |
| IDatasmithMaterialExpressionGeneric * | AddMaterialExpression () |
| template<> | |
| IDatasmithMaterialExpressionScalar * | AddMaterialExpression () |
| template<> | |
| IDatasmithMaterialExpressionTexture * | AddMaterialExpression () |
| template<> | |
| IDatasmithMaterialExpressionTextureCoordinate * | AddMaterialExpression () |
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... | |
|
pure virtual |
If a material is only referenced by other materials then it is only used as a material function and there is no need to instantiate it.
Implemented in FDatasmithUEPbrMaterialElementImpl.
|
pure virtual |
If a parent material is generated from this material, this will be its label.
If none, the instance and the parent will have the same label.
Implemented in FDatasmithUEPbrMaterialElementImpl.