Navigation
API > API/Plugins > API/Plugins/InterchangeImport > API/Plugins/InterchangeImport/MaterialX > API/Plugins/InterchangeImport/MaterialX/MaterialExpressions > API/Plugins/InterchangeImport/MaterialX/MaterialExpressions/UMaterialExpress-
- UMaterialExpression::Compile()
- UMaterialExpressionMaterialXSwizzle::Compile()
References
| Module | InterchangeImport |
| Header | /Engine/Plugins/Interchange/Runtime/Source/Import/Public/MaterialX/MaterialExpressions/MaterialExpressionSwizzle.h |
| Include | #include "MaterialX/MaterialExpressions/MaterialExpressionSwizzle.h" |
| Source | /Engine/Plugins/Interchange/Runtime/Source/Import/Private/MaterialX/MaterialExpressions/MaterialExpressionSwizzle.cpp |
virtual int32 Compile
&40;
class FMaterialCompiler &42; Compiler,
int32 OutputIndex
&41;
Remarks
Create the new shader code chunk needed for the Abs expression Index to the new FMaterialCompiler::CodeChunk entry for this expression
Parameters
| Name | Description |
|---|---|
| Compiler | UMaterial compiler that knows how to handle this expression. |