Module |
|
Header |
/Engine/Plugins/Compositing/OpenCVLensDistortion/Source/OpenCVLensDistortion/Public/OpenCVLensDistortionBlueprintLibrary.h |
Include |
#include "OpenCVLensDistortionBlueprintLibrary.h" |
Source |
/Engine/Plugins/Compositing/OpenCVLensDistortion/Source/OpenCVLensDistortion/Private/OpenCVLensDistortionBlueprintLibrary.cpp |
[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Lens Distortion | OpenCV",
Meta=(WorldContext="WorldContextObject"))
static void DrawDisplacementMapToRenderTarget
(
const UObject * WorldContextObject,
UTextureRenderTarget2D * OutputRenderTarget,
UTexture2D * PreComputedUndistortDisplacementMap
)
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.