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 (BlueprintCallable, Category="Lens Distortion",
Meta=(DeprecatedFunction, DeprecationMessage="The LensDistortion plugin is deprecated. Please update your project to use the features of the CameraCalibration plugin.", 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.