TImageBuilder::BilinearSampleUV

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

Choose your operating system:

Windows

macOS

Linux

References

Module

GeometryCore

Header

/Engine/Source/Runtime/GeometryCore/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.