Navigation
API > API/Runtime > API/Runtime/Landscape > API/Runtime/Landscape/Materials
Inheritance Hierarchy
- UMaterialExpression
- UMaterialExpressionLandscapeLayerSwitch
References
| Module | Landscape |
| Header | /Engine/Source/Runtime/Landscape/Classes/Materials/MaterialExpressionLandscapeLayerSwitch.h |
| Include | #include "Materials/MaterialExpressionLandscapeLayerSwitch.h" |
Syntax
UCLASS (CollapseCategories, HideCategories=Object, MinimalAPI)
class UMaterialExpressionLandscapeLayerSwitch : public UMaterialExpression
Variables
| Type | Name | Description | |
|---|---|---|---|
| FExpressionInput | LayerNotUsed | ||
| FExpressionInput | LayerUsed | ||
| FName | ParameterName | ||
| uint32: 1 | PreviewUsed |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionLandscapeLayerSwitch
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| bool | |||
| int32 | Compile
(
FMaterialCompiler* Compiler, |
||
| bool | GenerateHLSLExpression
(
FMaterialHLSLGenerator& Generator, |
||
| void | GetCaption
(
TArray< FString >& OutCaptions |
||
| FString | |||
| uint32 | GetInputType
(
int32 InputIndex |
||
| void | GetLandscapeLayerNames
(
TArray< FName >& OutLayers |
Gets the landscape layer names | |
| uint32 | GetOutputType
(
int32 InputIndex |
||
| UObject * | |||
| ReferencedTextureArray | |||
| bool | IsResultMaterialAttributes
(
int32 OutputIndex |
||
| bool | MatchesSearchQuery
(
const TCHAR* SearchQuery |
||
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object, and immediately after any undo/redo. | |
| void | Serialize
(
FStructuredArchive::FRecord Record |
||
| void | SetEditableName
(
const FString& NewName |