Navigation
API > API/Plugins > API/Plugins/LensDistortion > API/Plugins/LensDistortion/ULensDistortionBlueprintLibrary
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 |
UFUNCTION&40;BlueprintCallable, Category&61;"Lens Distortion",
Meta&61;&40;DeprecatedFunction, DeprecationMessage&61;"The LensDistortion plugin is deprecated. Please update your project to use the features of the CameraCalibration plugin.", WorldContext&61;"WorldContextObject"&41;&41;
static void DrawUVDisplacementToRenderTarget
&40;
const UObject &42; WorldContextObject,
const FLensDistortionCameraModel & CameraModel,
float DistortedHorizontalFOV,
float DistortedAspectRatio,
float UndistortOverscanFactor,
class UTextureRenderTarget2D &42; OutputRenderTarget,
float OutputMultiply,
float OutputAdd
&41;
Remarks
Draws UV displacement map within the output render target.
- Red & green channels hold the distortion displacement;
- Blue & alpha channels hold the undistortion displacement.