FImageDimensions::PixelToCoords

Choose your operating system:

Windows

macOS

Linux

References

Module

GeometryCore

Header

/Engine/Source/Runtime/GeometryCore/Public/Image/ImageDimensions.h

Include

#include "Image/ImageDimensions.h"

Syntax

FVector2i PixelToCoords
(
    const FVector2d & PixelPosition
) const

Returns

integer XY coordinates for real-valued XY coordinates (ie texel that contains value, if texel origin is in bottom-left