Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Image/ImageBuilder.h |
Include |
#include "Image/ImageBuilder.h" |
template<typename ScalarType>
PixelType BilinearSampleUV
(
const FVector2d & UVCoords,
const PixelType & InvalidValue
) const
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.