Navigation
API > API/Runtime > API/Runtime/Landscape > API/Runtime/Landscape/Materials > API/Runtime/Landscape/Materials/UMaterialExpressionLandscapeLaye-_3
- UMaterialExpression::Compile()
- UMaterialExpressionLandscapeLayerSwitch::Compile()
References
| Module | Landscape |
| Header | /Engine/Source/Runtime/Landscape/Classes/Materials/MaterialExpressionLandscapeLayerSwitch.h |
| Include | #include "Materials/MaterialExpressionLandscapeLayerSwitch.h" |
| Source | /Engine/Source/Runtime/Landscape/Private/Materials/MaterialExpressionLandscapeLayerSwitch.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. |