Navigation
API > API/Plugins > API/Plugins/OpenCVLensDistortion > API/Plugins/OpenCVLensDistortion/UOpenCVLensDistortionBlueprintLi-
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/OpenCVLensDistortionBlueprintLibrary.h |
| Include Path | #include "OpenCVLensDistortionBlueprintLibrary.h" |
| Source | /Engine/Plugins/Compositing/OpenCVLensDistortion/Source/OpenCVLensDistortion/Private/OpenCVLensDistortionBlueprintLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Lens Distortion | OpenCV",
Meta=(WorldContext="WorldContextObject"))
static void DrawDisplacementMapToRenderTarget
(
const UObject * WorldContextObject,
UTextureRenderTarget2D * OutputRenderTarget,
UTexture2D * PreComputedUndistortDisplacementMap
)