FWaterQuadTree::QueryInterpolatedTileBaseHeightAtLocation

Bilinear interpolation between four neighboring base height samples around InWorldLocationXY.

Choose your operating system:

Windows

macOS

Linux

References

Module

Water

Header

/Engine/Plugins/Experimental/Water/Source/Runtime/Public/WaterQuadTree.h

Include

#include "WaterQuadTree.h"

Source

/Engine/Plugins/Experimental/Water/Source/Runtime/Private/WaterQuadTree.cpp

Syntax

bool QueryInterpolatedTileBaseHeightAtLocation
(
    const FVector2D & InWorldLocationXY,
    float & OutHeight
) const

Remarks

Bilinear interpolation between four neighboring base height samples around InWorldLocationXY. The samples are done on the leaf node grid resolution. Returns true if all 4 samples were taken in valid nodes