UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
LandscapeTextureStorageProvider.cpp File Reference

Macros

#define PROVIDER_DEBUG_LOG(...)   UE_LOG(LogLandscape, Verbose, __VA_ARGS__)
 
#define PROVIDER_DEBUG_LOG_DETAIL(...)   do {} while(0)
 

Functions

FVector ComputeTriangleNormal (const FVector &InPoint0, const FVector &InPoint1, const FVector &InPoint2)
 
FVector3f ComputeGridNormalFromDeltaHeights (float DHDX, float DHDY, int32 MipScale, const FVector &LandscapeGridScale)
 
FVector2f CalculatePremultU16 (int32 MipIndex, const FVector &LandscapeGridScale)
 
FVector3f ComputeGridNormalFromDeltaHeightsPremultU16 (int32 DHDX, int32 DHDY, const FVector2f &PremultU16)
 
void SampleWorldPositionAtOffset (FVector &OutPoint, const uint8 *MipData, int32 X, int32 Y, int32 MipSizeX, const FVector &InLandscapeGridScale)
 
uint16 DecodeHeightU16 (const FColor *Pixel)
 
void FastNormalize (FVector3f &V)
 

Macro Definition Documentation

◆ PROVIDER_DEBUG_LOG

#define PROVIDER_DEBUG_LOG (   ...)    UE_LOG(LogLandscape, Verbose, __VA_ARGS__)

◆ PROVIDER_DEBUG_LOG_DETAIL

#define PROVIDER_DEBUG_LOG_DETAIL (   ...)    do {} while(0)

Function Documentation

◆ CalculatePremultU16()

FVector2f CalculatePremultU16 ( int32  MipIndex,
const FVector LandscapeGridScale 
)
inline

◆ ComputeGridNormalFromDeltaHeights()

FVector3f ComputeGridNormalFromDeltaHeights ( float  DHDX,
float  DHDY,
int32  MipScale,
const FVector LandscapeGridScale 
)
inline

◆ ComputeGridNormalFromDeltaHeightsPremultU16()

FVector3f ComputeGridNormalFromDeltaHeightsPremultU16 ( int32  DHDX,
int32  DHDY,
const FVector2f PremultU16 
)
inline

◆ ComputeTriangleNormal()

FVector ComputeTriangleNormal ( const FVector InPoint0,
const FVector InPoint1,
const FVector InPoint2 
)
inline

◆ DecodeHeightU16()

uint16 DecodeHeightU16 ( const FColor Pixel)
inline

◆ FastNormalize()

void FastNormalize ( FVector3f V)
inline

◆ SampleWorldPositionAtOffset()

void SampleWorldPositionAtOffset ( FVector OutPoint,
const uint8 MipData,
int32  X,
int32  Y,
int32  MipSizeX,
const FVector InLandscapeGridScale 
)
inline