unreal.LandscapeTextureHeightPatchEncoding

class unreal.LandscapeTextureHeightPatchEncoding

Bases: EnumBase

ELandscape Texture Height Patch Encoding

C++ Source:

  • Plugin: LandscapePatch

  • Module: LandscapePatch

  • File: LandscapeTexturePatch.h

NATIVE_PACKED_HEIGHT: LandscapeTextureHeightPatchEncoding

as 16 bit integers packed into two bytes, mapping to [-256, 256 - 1/128] before applying landscape scale.

Type:

2

Type:

Values in texture are stored the same way they are in landscape actors

WORLD_UNITS: LandscapeTextureHeightPatchEncoding

Values in texture are direct world-space heights.

Type:

1

ZERO_TO_ONE: LandscapeTextureHeightPatchEncoding

Values in texture should be interpreted as being floats in the range [0,1]. User specifies what value corresponds to height 0 (i.e. height when landscape is “cleared”), and the size of the range in world units.

Type:

0