Navigation
Unreal Engine C++ API Reference > Runtime > Landscape > Materials > UMaterialExpressionLandscapeLayerSample
- UMaterialExpression::GetReferencedTexture()
- UMaterialExpressionLandscapeLayerSample::GetReferencedTexture()
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 UObject &42; GetReferencedTexture&40;&41; const
Remarks
Callback to get any texture reference this expression emits. This is used to link the compiled uniform expressions with their default texture values. Any UMaterialExpression whose compilation creates a texture uniform expression (eg Compiler->Texture, Compiler->TextureParameter) must implement this.