ULensDistortionBlueprintLibrary::DrawUVDisplacementToRenderTarget

Draws UV displacement map within the output render target.

Windows
MacOS
Linux

References

Module

LensDistortion

Header

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

Include

#include "LensDistortionBlueprintLibrary.h"

Source

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

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Lens Distortion", Meta=(WorldContext="WorldContextObject"))
static void DrawUVDisplacementToRenderTarget
(
    const UObject * WorldContextObject,
    const FLensDistortionCameraModel & CameraModel,
    float DistortedHorizontalFOV,
    float DistortedAspectRatio,
    float UndistortOverscanFactor,
    class UTextureRenderTarget2D * OutputRenderTarget,
    float OutputMultiply,
    float OutputAdd
)

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