unreal.LandscapeTexturePatchAlphaSettings

class unreal.LandscapeTexturePatchAlphaSettings

Bases: StructBase

Landscape Texture Patch Alpha Settings

C++ Source:

  • Plugin: LandscapePatch

  • Module: LandscapePatch

  • File: LandscapeTexturePatch.h

Editor Properties: (see get_editor_property/set_editor_property)

  • alpha_source_mode (LandscapeTexturePatchAlphaSourceMode): [Read-Only] When the source mode changes, there are transition steps that need run to clean up render targets / internal data. In PostEditChangeProperty, the previous source mode is already lost and it becomes harder to track the necessary transition. DetailPanelAlphaSourceMode exposes the property and allows us to process the source mode transition before updating AlphaSourceMode

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

  • alpha_texture_channel (LandscapeTexturePatchTextureChannel): [Read-Write] Texture channel utilized for the alpha mask. The texture alpha channel is used by default.

  • alpha_texture_uv_transform (LandscapeTexturePatchTextureTransform): [Read-Write] Alpha texture’s UV transform (Scale, Offset, Rotation)

  • detail_panel_alpha_source_mode (LandscapeTexturePatchAlphaSourceMode): [Read-Write] How the alpha texture is stored.

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