ULandscapeComponent::GetLayerAllocationKey

Generate a key for a component's layer allocations to use with MaterialInstanceConstantMap.

Windows
MacOS
Linux

References

Module

Landscape

Header

/Engine/Source/Runtime/Landscape/Classes/LandscapeComponent.h

Include

#include "LandscapeComponent.h"

Source

/Engine/Source/Runtime/Landscape/Private/LandscapeEdit.cpp

Syntax

static FString GetLayerAllocationKey
(
    const TArray< FWeightmapLayerAllocationInfo > & Allocations,
    UMaterialInterface * LandscapeMaterial,
    bool bMobile
)

Remarks

Generate a key for a component's layer allocations to use with MaterialInstanceConstantMap.

Generate a key for this component's layer allocations to use with MaterialInstanceConstantMap.

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