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.

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] How the weightmap of the patch is stored.

  • 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.

  • override_blend_mode (bool): [Read-Write] Allows to override the patch component’s own blend node

  • override_blend_mode (LandscapeTexturePatchBlendMode): [Read-Write] Determines how the patch is combined with the previous state of the landscape (overrides the patch component’s own blend node).

  • 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] When true, texture alpha channel will be used when applying the weight patch. Note that the source data needs to have an alpha channel for this to have an effect.

  • weightmap_layer_name (Name): [Read-Write] Name of the target layer to affect.