FLandscapeEditDataInterface::SetAlphaData

Updates weightmaps for all layers. Data points to packed data for all layers in the landscape info.

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
(
    const TSet< ULandscapeLayerInfoObject * > & DirtyLayerInfos,
    const int32 X1,
    const int32 Y1,
    const int32 X2,
    const int32 Y2,
    const uint8 * Data,
    int32 Stride,
    ELandscapeLayerPaintingRestriction PaintingRestriction
)

Remarks

Updates weightmaps for all layers. Data points to packed data for all layers in the landscape info.