Module |
|
Header |
/Engine/Plugins/Compositing/LensDistortion/Source/LensDistortion/Classes/LensDistortionAPI.h |
Include |
#include "LensDistortionAPI.h" |
Source |
/Engine/Plugins/Compositing/LensDistortion/Source/LensDistortion/Private/LensDistortionRendering.cpp |
void DrawUVDisplacementToRenderTarget
(
class UWorld * World,
float DistortedHorizontalFOV,
float DistortedAspectRatio,
float UndistortOverscanFactor,
class UTextureRenderTarget2D * OutputRenderTarget,
float OutputMultiply,
float OutputAdd
) const
Draws UV displacement map within the output render target.
Red & green channels hold the distortion displacement;
Blue & alpha channels hold the undistortion displacement.