Navigation
API > API/Plugins > API/Plugins/LandscapePatch
| Name | ELandscapeTextureHeightPatchEncoding |
| Type | enum |
| Header File | /Engine/Plugins/Editor/LandscapePatch/Source/LandscapePatch/Public/LandscapeTexturePatch.h |
| Include Path | #include "LandscapeTexturePatch.h" |
Syntax
enum ELandscapeTextureHeightPatchEncoding
{
ZeroToOne,
WorldUnits,
NativePackedHeight,
}
Values
| Name | Remarks |
|---|---|
| ZeroToOne | Values in texture should be interpreted as being floats in the range [0,1]. |
| WorldUnits | Values in texture are direct world-space heights. |
| NativePackedHeight | Values in texture are stored the same way they are in landscape actors: as 16 bit integers packed into two bytes, mapping to [-256, 256 - 1/128] before applying landscape scale. |