FWaterQuadTree::QueryInterpolatedTileBaseHeightAtLocation

Bilinear interpolation between four neighboring base height samples around InWorldLocationXY.

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss