FLandscapeEditDataInterface::SetAlphaData

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

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.

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