Navigation
API > API/Runtime > API/Runtime/DatasmithCore
Inheritance Hierarchy
- ISceneGraphNode
- IDatasmithElement
- IDatasmithMaterialExpression
- IDatasmithExpressionParameter
- IDatasmithMaterialExpressionBool
- IDatasmithMaterialExpressionColor
- IDatasmithMaterialExpressionScalar
- IDatasmithMaterialExpressionTexture
- IDatasmithMaterialExpressionCustom
- IDatasmithMaterialExpressionFlattenNormal
- IDatasmithMaterialExpressionFunctionCall
- IDatasmithMaterialExpressionGeneric
- IDatasmithMaterialExpressionTextureCoordinate
References
| Module | DatasmithCore |
| Header | /Engine/Source/Runtime/Datasmith/DatasmithCore/Public/DatasmithMaterialElements.h |
| Include | #include "DatasmithMaterialElements.h" |
Syntax
class IDatasmithMaterialExpression : public IDatasmithElement
Remarks
Base class for representing an expression in the material graph of a IDatasmithUEPbrMaterial. Setting a name to the expression is optional but allows to automatically create material instances during the import, which is faster and more optimal.
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ConnectExpression
(
IDatasmithExpressionInput& ExpressionInput |
Connects the default output to an expression input | |
| void | ConnectExpression
(
IDatasmithExpressionInput& ExpressionInput, |
Connects a specific output to an expression input | |
| int32 | The output index to use by default for this expression when connecting it to other inputs. | ||
| EDatasmithMaterialExpressionType | |||
| IDatasmithExpressionInput * | |||
| const IDatasmithExpressionInput * | |||
| int32 | |||
| EDatasmithMaterialExpressionType | GetType () |
||
| bool | IsA
(
const EDatasmithMaterialExpressionType ExpressionType |
||
| bool | IsSubType
(
const EDatasmithMaterialExpressionType ExpressionType |
||
| void | Reset the expression to its default values, and disconnect input expressions | ||
| void | SetDefaultOutputIndex
(
int32 OutputIndex |
Overridden from IDatasmithElement
| Type | Name | Description | |
|---|---|---|---|
| bool | IsA
(
EDatasmithElementType Type |
Needed while we have the deprecated IsA() implementation to avoid declaration conflict. |