Navigation
Unreal Engine C++ API Reference > Runtime > Landscape > Materials > UMaterialExpressionLandscapeLayerSample
- UMaterialExpression::Compile()
- UMaterialExpressionLandscapeLayerSample::Compile()
References
Module | Landscape |
Header | /Engine/Source/Runtime/Landscape/Classes/Materials/MaterialExpressionLandscapeLayerSample.h |
Include | #include "Materials/MaterialExpressionLandscapeLayerSample.h" |
Source | /Engine/Source/Runtime/Landscape/Private/Materials/MaterialExpressionLandscapeLayerSample.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. |