![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <LandscapeEdgeFixup.h>
Public Member Functions | |
| TArrayView< UE::Landscape::FHeightmapTexel > | GetEdgeData (UE::Landscape::EEdgeIndex InEdgeIndex, int32 InMipIndex) |
| UE::Landscape::FHeightmapTexel | GetCornerData (UE::Landscape::EEdgeIndex InEdgeIndex) |
| UE::Landscape::EEdgeFlags | CompareEdges (const FHeightmapTextureEdgeSnapshot &OldSnapshot) const |
| FString | GetTextureSourceIDAsString () |
Static Public Member Functions | |
| static TSharedRef< FHeightmapTextureEdgeSnapshot > | CreateEdgeSnapshotFromTextureData (const TArrayView64< UE::Landscape::FHeightmapTexel > &InHeightmapTextureData, int32 InEdgeLength, const FVector &LandscapeGridScale) |
Friends | |
| class | ULandscapeHeightmapTextureEdgeFixup |
| FArchive & | operator<< (FArchive &Ar, FHeightmapTextureEdgeSnapshot &Data) |
The snapshots contain a copy of the heightmap edge texels (both height and normal info). It is filled out in editor or at cook time, to make available at runtime for dynamic edge fixup.
| UE::Landscape::EEdgeFlags FHeightmapTextureEdgeSnapshot::CompareEdges | ( | const FHeightmapTextureEdgeSnapshot & | OldSnapshot | ) | const |
|
static |
| UE::Landscape::FHeightmapTexel FHeightmapTextureEdgeSnapshot::GetCornerData | ( | UE::Landscape::EEdgeIndex | InEdgeIndex | ) |
| TArrayView< UE::Landscape::FHeightmapTexel > FHeightmapTextureEdgeSnapshot::GetEdgeData | ( | UE::Landscape::EEdgeIndex | InEdgeIndex, |
| int32 | InMipIndex | ||
| ) |
Return edge snapshot data for this component, for the specified neighbor direction and mip. Horizontal edges are stored left to right, and vertical edges bottom to top.
|
inline |
|
friend |
|
friend |