Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Datasmith/DatasmithCore/Public/DatasmithMaterialElements.h |
Include |
#include "DatasmithMaterialElements.h" |
class IDatasmithMaterialExpression : public IDatasmithElement
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.
Name | Description | |
---|---|---|
|
~IDatasmithMaterialExpression() |
Name | Description | ||
---|---|---|---|
|
ConnectExpression ( |
Connects the default output to an expression input |
|
|
ConnectExpression ( |
Connects a specific output to an expression input |
|
|
GetDefaultOutputIndex() |
The output index to use by default for this expression when connecting it to other inputs. |
|
|
EDatasmithMa... |
GetExpressionType() |
|
|
IDatasmithEx... |
GetInput ( |
|
|
const IDatas... |
GetInput ( |
|
|
GetInputCount() |
||
|
IsSubType ( |
||
|
ResetExpression() |
Reset the expression to its default values, and disconnect input expressions |
|
|
SetDefaultOutputIndex ( |
Name | Description | ||
---|---|---|---|
|
EDatasmithMa... |
GetType() |
Deprecated, please use GetExpressionType() instead |
|
IsA ( |
IDatasmithMaterialExpression now derive from IDatasmithElement, please use IsSubType() or GetExpressionType() instead |