FLandscapeEditDataInterface::SetAlphaData

Updates weightmap for LayerInfo, optionally adjusting all other weightmaps.

Windows
MacOS
Linux

References

Module

Landscape

Header

/Engine/Source/Runtime/Landscape/Public/LandscapeEdit.h

Include

#include "LandscapeEdit.h"

Source

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

Syntax

void SetAlphaData
(
    ULandscapeLayerInfoObject * LayerInfo,
    const int32 X1,
    const int32 Y1,
    const int32 X2,
    const int32 Y2,
    const uint8 * Data,
    int32 Stride,
    ELandscapeLayerPaintingRestriction PaintingRestriction,
    bool bWeightAdjust,
    bool bTotalWeightAdjust
)

Remarks

Updates weightmap for LayerInfo, optionally adjusting all other weightmaps.

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