unreal.LandscapeEditLayerBase

class unreal.LandscapeEditLayerBase(outer: Object | None = None, name: Name | str = 'None')

Bases: Object

Base class for all landscape edit layers. By implementing the various virtual functions, we are able to customize the behavior of the edit layer

wrt the landscape tools in a generic way (e.g. does it support sculpting tools? painting tools? can it be collapsed?, etc.)

C++ Source:

  • Module: Landscape

  • File: LandscapeEditLayer.h

Editor Properties: (see get_editor_property/set_editor_property)

  • heightmap_alpha (float): [Read-Write]

  • locked (bool): [Read-Write]

  • visible (bool): [Read-Write]

  • weightmap_alpha (float): [Read-Write]

get_name_bp() Name
Returns:

the name of the edit layer (editor-only : returns an invalid name at runtime)

Return type:

Name