Navigation
API > API/Plugins > API/Plugins/OpenCVLensDistortion > API/Plugins/OpenCVLensDistortion/FOpenCVLensDistortionParameters
Description
Draws UV displacement map within the output render target.
- Red & green channels hold the distort to undistort displacement;
- Blue & alpha channels hold the undistort to distort displacement.
| Name | DrawDisplacementMapToRenderTarget |
| Type | function |
| Header File | /Engine/Plugins/Compositing/OpenCVLensDistortion/Source/OpenCVLensDistortion/Public/OpenCVLensDistortionParameters.h |
| Include Path | #include "OpenCVLensDistortionParameters.h" |
| Source | /Engine/Plugins/Compositing/OpenCVLensDistortion/Source/OpenCVLensDistortion/Private/LensDistortionDisplacementMapRendering.cpp |
static void DrawDisplacementMapToRenderTarget
(
UWorld * InWorld,
UTextureRenderTarget2D * InOutputRenderTarget,
UTexture2D * InPreComputedUndistortDisplacementMap
)