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 affects the visibility layer.

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

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

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

  • override_weight_alpha_settings (bool): [Read-Write]

  • 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] deprecated: Use WeightPatchAlphaSettings.SetAlphaSourceMode() with ELandscapeTexturePatchAlphaSourceMode (use alpha mode None or SourceTextureChannel for legacy behavior).

  • weight_patch_alpha_settings (LandscapeTexturePatchAlphaSettings): [Read-Write]

  • weight_patch_texture_channel (LandscapeTexturePatchTextureChannel): [Read-Write] Color channel of the texture used for weight data. By default the weight texture’s red channel is used.

  • weight_texture_uv_transform (LandscapeTexturePatchTextureTransform): [Read-Write]

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

property use_alpha_channel: bool

[Read-Write] deprecated: Use WeightPatchAlphaSettings.SetAlphaSourceMode() with ELandscapeTexturePatchAlphaSourceMode (use alpha mode None or SourceTextureChannel for legacy behavior).

Type:

(bool)