FLandscapeEditDataInterface::SetAlphaData

Updates weightmap for LayerInfo, optionally adjusting all other weightmaps.

Choose your operating system:

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.