Navigation
API > API/Runtime > API/Runtime/Landscape
References
| Module | Landscape |
| Header | /Engine/Source/Runtime/Landscape/Classes/LandscapeProxy.h |
| Include | #include "LandscapeProxy.h" |
Syntax
enum ELandscapeLayerPaintingRestriction
{
UMETA =(DisplayName="None"),
UMETA =(DisplayName="Limit Layer Count"),
UMETA =(DisplayName="Existing Layers Only"),
UMETA =(DisplayName="Component Allow List"),
}
Values
| Name | Description |
|---|---|
| UMETA | No restriction, can paint anywhere (default). |
| UMETA | Uses the MaxPaintedLayersPerComponent setting from the LandscapeProxy. |
| UMETA | Restricts painting to only components that already have this layer. |
| UMETA | Restricts painting to only components that have this layer in their allow list. |
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...