FLensDistortionCameraModel::DrawUVDisplacementToRenderTarget

Draws UV displacement map within the output render target.

Windows
MacOS
Linux

References

Module

LensDistortion

Header

/Engine/Plugins/Compositing/LensDistortion/Source/LensDistortion/Classes/LensDistortionAPI.h

Include

#include "LensDistortionAPI.h"

Source

/Engine/Plugins/Compositing/LensDistortion/Source/LensDistortion/Private/LensDistortionRendering.cpp

Syntax

void DrawUVDisplacementToRenderTarget
(
    class UWorld * World,
    float DistortedHorizontalFOV,
    float DistortedAspectRatio,
    float UndistortOverscanFactor,
    class UTextureRenderTarget2D * OutputRenderTarget,
    float OutputMultiply,
    float OutputAdd
) const

Remarks

Draws UV displacement map within the output render target.

  • Red & green channels hold the distortion displacement;

  • Blue & alpha channels hold the undistortion 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