Navigation
API > API/Runtime > API/Runtime/Engine
Stores information that maps a terrain layer to a particular weightmap index Despite the name, these are not actually material parameters. These bindings are automatically generated by landscape when materials are initialized Still stored in FStaticParameterSet, since it influences generation of shaders on the MI
| Name | FStaticTerrainLayerWeightParameter |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/StaticParameterSet.h |
| Include Path | #include "StaticParameterSet.h" |
Syntax
USTRUCT ()
struct FStaticTerrainLayerWeightParameter
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| StaticParameterSet.h | |||
FStaticTerrainLayerWeightParameter
(
const FName& InName, |
StaticParameterSet.h | ||
FStaticTerrainLayerWeightParameter
(
const FName& InName, |
StaticParameterSet.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsRepeatedLayer | bool | StaticParameterSet.h | ||
| bWeightBasedBlend | bool | StaticParameterSet.h | ||
| LayerName | FName | StaticParameterSet.h | ||
| WeightmapIndex | int32 | StaticParameterSet.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Append
(
FShaderKeyGenerator& KeyGen |
StaticParameterSet.h | ||
void AppendKeyString
(
FString& KeyString |
StaticParameterSet.h | ||
void UpdateHash
(
FSHA1& HashState |
StaticParameterSet.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FStaticTerrainLayerWeightParameter& Reference |
StaticParameterSet.h |
Deprecated Variables
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bOverride_DEPRECATED | bool | StaticParameterSet.h | ||
| ExpressionGUID_DEPRECATED | FGuid | StaticParameterSet.h | ||
| ParameterInfo_DEPRECATED | FMaterialParameterInfo | StaticParameterSet.h |