unreal.LandscapeWeightPatchTextureInfo

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

Bases: Object

Helper class for ULandscapeTexturePatch that stores information for a given weight layer. Should not be used outside this class, but does need to be a UObject (so can’t be nested).

C++ Source:

  • Plugin: LandscapePatch

  • Module: LandscapePatch

  • File: LandscapeTexturePatch.h

Editor Properties: (see get_editor_property/set_editor_property)

  • detail_panel_source_mode (LandscapeTexturePatchSourceMode): [Read-Write]

  • edit_visibility_layer (bool): [Read-Write] Specifies if this patch edits the visibility layer.

  • internal_data (LandscapeWeightTextureBackedRenderTarget): [Read-Only] Not directly settable via detail panel- for display/debugging purposes only.

  • source_mode (LandscapeTexturePatchSourceMode): [Read-Write]

  • texture_asset (Texture): [Read-Write] Texture to use when source mode is set to texture asset.

  • use_alpha_channel (bool): [Read-Write]

  • weightmap_layer_name (Name): [Read-Write]