unreal.LandscapeTexturePatchBlendMode

class unreal.LandscapeTexturePatchBlendMode

Bases: EnumBase

Determines how the patch is combined with the previous state of the landscape.

C++ Source:

  • Plugin: LandscapePatch

  • Module: LandscapePatch

  • File: LandscapeTexturePatch.h

ADDITIVE: LandscapeTexturePatchBlendMode

Interpreting the landscape mid value as 0, use the texture patch as an offset to apply to the landscape. Falloff/alpha will just affect the degree to which the offset is applied (e.g. alpha of 0.5 will apply just half the offset).

Type:

1

ALPHA_BLEND: LandscapeTexturePatchBlendMode

Let the patch specify the actual target height, and blend that with the existing height using falloff/alpha. E.g. with no falloff and alpha 1, the landscape will be set directly to the height sampled from patch. With alpha 0.5, landscape height will be averaged evenly with patch height.

Type:

0

MAX: LandscapeTexturePatchBlendMode

Like Alpha Blend mode, but limited to only raising the existing landscape values

Type:

3

MIN: LandscapeTexturePatchBlendMode

Like Alpha Blend mode, but limited to only lowering the existing landscape values

Type:

2