ELandscapeLayerPaintingRestriction

This is only here because putting it in LandscapeEditorObject.h (where it belongs) results in Engine being dependent on LandscapeEditor, as the actual landscape editing code (e.g. LandscapeEdit.h) is in /Engine/ for some reason...

Windows
MacOS
Linux

References

Module

Landscape

Header

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

Include

#include "LandscapeProxy.h"

Syntax

enum ELandscapeLayerPaintingRestriction
{
    None,
    UseMaxLayers,
    ExistingOnly,
    UseComponentWhitelist,
}

Values

Name

Description

None

No restriction, can paint anywhere (default).

UseMaxLayers

Uses the MaxPaintedLayersPerComponent setting from the LandscapeProxy.

ExistingOnly

Restricts painting to only components that already have this layer.

UseComponentWhitelist

Restricts painting to only components that have this layer in their whitelist.

Remarks

This is only here because putting it in LandscapeEditorObject.h (where it belongs) results in Engine being dependent on LandscapeEditor, as the actual landscape editing code (e.g. LandscapeEdit.h) is in /Engine/ for some reason...

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