Navigation
API > API/Plugins > API/Plugins/ModelingComponents
Render capture images use the render target coordinate system, which is defined such that:
- The upper-left corner is (0,0) in pixel space, (0,0) in UV space and (-1,1) in NDC space
- The bottom-right corner is (Width,Height) in pixel space, (1,1) in UV Space and (1,-1) in NDC space Pixel centers are offset by (0.5,0.5) from integer locations
| Name | FRenderCaptureCoordinateConverter2D |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Scene/WorldRenderCapture.h |
| Include Path | #include "Scene/WorldRenderCapture.h" |
Syntax
struct FRenderCaptureCoordinateConverter2D
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FVector2d DeviceToUV
(
FVector2d NDC |
Convert normalized device coordinates to render capture image UV coordinates. | Scene/WorldRenderCapture.h | |
static FVector2d PixelToDevice
(
FVector2i Pixel, |
Convert render capture image pixel coordinates to normalized device coordinates. | Scene/WorldRenderCapture.h |