UMaterial::GetTerrainLayerWeightParameterValue

Get the weightmap index of the given terrain layer weight parameter

Windows
MacOS
Linux

Override Hierarchy

UMaterialInterface::GetTerrainLayerWeightParameterValue()

UMaterial::GetTerrainLayerWeightParameterValue()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Materials/Material.h

Include

#include "Materials/Material.h"

Source

/Engine/Source/Runtime/Engine/Private/Materials/Material.cpp

Syntax

virtual bool GetTerrainLayerWeightParameterValue
(
    const FHashedMaterialParameterInfo & ParameterInfo,
    int32 & OutWeightmapIndex,
    FGuid & OutExpressionGuid
) const

Remarks

Get the weightmap index of the given terrain layer weight parameter

Returns

True if successful

Parameters

Parameter

Description

ParameterName

The name of the parameter

OutWeightmapIndex

Will contain the values of the parameter if successful

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss