FStaticTerrainLayerWeightParameter

Stores information that maps a terrain layer to a particular weightmap index Despite the name, these are not actually material parameters.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/StaticParameterSet.h

Include

#include "StaticParameterSet.h"

Syntax

struct FStaticTerrainLayerWeightParameter

Remarks

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

Variables

Name Description

Public variable

bool

 

bWeightBasedBlend

Public variable

FName

 

LayerName

Public variable

int32

 

WeightmapIndex

Constructors

Name Description

Public function

FStaticTerrainLayerWeightParameter()

Public function

FStaticTerrainLayerWeightParameter

(
    const FName& InName,
    int32 InWeightmapIndex,
    bool InWeightBasedBlend
)

Functions

Name Description

Public function Const

void

 

AppendKeyString

(
    FString& KeyString
)

Public function Const

void

 

UpdateHash

(
    FSHA1& HashState
)

Operators

Name Description

Public function Const

bool

 

operator==

(
    const FStaticTerrainLayerWeightPara...
)

Deprecated Variables

Name Description

Public variable

bool

 

bOverride_DEPRECATED

Public variable

FGuid

 

ExpressionGUID_DEPRECATED

Public variable

FMaterialParame...

 

ParameterInfo_DEPRECATED