UOpenCVLensDistortionBlueprintLibrary::DrawDisplacementMapToRenderTarget

Draws UV displacement map within the output render target.

Windows
MacOS
Linux

References

Module

OpenCVLensDistortion

Header

/Engine/Plugins/Compositing/OpenCVLensDistortion/Source/OpenCVLensDistortion/Public/OpenCVLensDistortionBlueprintLibrary.h

Include

#include "OpenCVLensDistortionBlueprintLibrary.h"

Source

/Engine/Plugins/Compositing/OpenCVLensDistortion/Source/OpenCVLensDistortion/Private/OpenCVLensDistortionBlueprintLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Lens Distortion | OpenCV",
          Meta=(WorldContext="WorldContextObject"))
static void DrawDisplacementMapToRenderTarget
(
    const UObject * WorldContextObject,
    UTextureRenderTarget2D * OutputRenderTarget,
    UTexture2D * PreComputedUndistortDisplacementMap
)

Remarks

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss