Navigation
API > API/Plugins > API/Plugins/InterchangeImport > API/Plugins/InterchangeImport/MaterialX > API/Plugins/InterchangeImport/MaterialX/MaterialXUtils > API/Plugins/InterchangeImport/MaterialX/MaterialXUtils/FMaterialXSurfac-
References
| Module | InterchangeImport |
| Header | /Engine/Plugins/Interchange/Runtime/Source/Import/Public/MaterialX/MaterialXUtils/MaterialXSurfaceShaderAbstract.h |
| Include | #include "MaterialX/MaterialXUtils/MaterialXSurfaceShaderAbstract.h" |
| Source | /Engine/Plugins/Interchange/Runtime/Source/Import/Private/MaterialX/MaterialXUtils/MaterialXSurfaceShaderAbstract.cpp |
UInterchangeShaderNode * CreateMaskShaderNode
(
uint8 RGBA,
MaterialX::ElementPtr Element,
const FString & NodeName,
const FString & OutputName
)
Remarks
End Connect MaterialX nodes Create a ComponentMask shader node. The ComponentMask node.
Parameters
| Name | Description |
|---|---|
| RGBA | The mask component. For example: 0b1011 -> Only RBA are toggled |
| Element | The element that we take the whole hierarchy from to ensure the uniqueness of the name |
| NodeName | the name of the shader node. |
| OutputName | the name of the output of the MaterialX node. The default name is 'out' as stated by the standard library. |