TImageBuilder::BilinearSampleUV

Sample the image value at floating-point UV coords with Bilinear interpolation.

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Image/ImageBuilder.h

Include

#include "Image/ImageBuilder.h"

Syntax

template<typename ScalarType>
PixelType BilinearSampleUV
(
    const FVector2d & UVCoords,
    const PixelType & InvalidValue
) const

Remarks

Sample the image value at floating-point UV coords with Bilinear interpolation. The UV coords are assumed to be in range [0,1]x[0,1], and that this maps to the [0,Width]x[0,Height] image pixel rectangle.

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