Navigation
API > API/Runtime > API/Runtime/Landscape > API/Runtime/Landscape/Materials
Inheritance Hierarchy
- UMaterialExpression
- UMaterialExpressionLandscapeLayerWeight
References
| Module | Landscape |
| Header | /Engine/Source/Runtime/Landscape/Classes/Materials/MaterialExpressionLandscapeLayerWeight.h |
| Include | #include "Materials/MaterialExpressionLandscapeLayerWeight.h" |
Syntax
UCLASS (CollapseCategories, HideCategories=Object, MinimalAPI)
class UMaterialExpressionLandscapeLayerWeight : public UMaterialExpression
Variables
| Type | Name | Description | |
|---|---|---|---|
| FExpressionInput | Base | ||
| FVector | ConstBase | Only used if Base is not hooked up | |
| FExpressionInput | Layer | ||
| FName | ParameterName | ||
| float | PreviewWeight |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionLandscapeLayerWeight
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| bool | |||
| int32 | Compile
(
FMaterialCompiler* Compiler, |
||
| void | GetCaption
(
TArray< FString >& OutCaptions |
||
| FString | |||
| uint32 | GetInputType
(
int32 InputIndex |
||
| void | GetLandscapeLayerNames
(
TArray< FName >& OutLayers |
Gets the landscape layer names | |
| 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 | SetEditableName
(
const FString& NewName |