unreal.LandscapeTexturePatchEncodingSettings

class unreal.LandscapeTexturePatchEncodingSettings(zero_in_encoding: float = 0.0, world_space_encoding_scale: float = 0.0)

Bases: StructBase

Landscape Texture Patch Encoding Settings

C++ Source:

  • Plugin: LandscapePatch

  • Module: LandscapePatch

  • File: LandscapeTexturePatch.h

Editor Properties: (see get_editor_property/set_editor_property)

  • world_space_encoding_scale (double): [Read-Write] The scale that should be aplied to the data stored in the patch relative to the zero in the encoding, in world coordinates. For instance if the encoding is [0,1], and 0.5 correponds to 0, a WorldSpaceEncoding Scale of 100 means that the resulting values will lie in the range [-50, 50] in world space, which would be [-0.5, 0.5] in the landscape local heights if the Z scale is 100.

  • zero_in_encoding (double): [Read-Write] The value in the patch data that corresponds to 0 height relative to the starting point specified by Zero Height Meaning.

property world_space_encoding_scale: float

[Read-Write] The scale that should be aplied to the data stored in the patch relative to the zero in the encoding, in world coordinates. For instance if the encoding is [0,1], and 0.5 correponds to 0, a WorldSpaceEncoding Scale of 100 means that the resulting values will lie in the range [-50, 50] in world space, which would be [-0.5, 0.5] in the landscape local heights if the Z scale is 100.

Type:

(double)

property zero_in_encoding: float

[Read-Write] The value in the patch data that corresponds to 0 height relative to the starting point specified by Zero Height Meaning.

Type:

(double)