ULensDistortionBlueprintLibrary

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

LensDistortion

Header

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

Include

#include "LensDistortionBlueprintLibrary.h"

Syntax

UCLASS(MinimalAPI, Meta=(ScriptName="LensDistortionLibrary"))
class ULensDistortionBlueprintLibrary : public UBlueprintFunctionLibrary

Constructors

Name Description

Public function

ULensDistortionBlueprintLibrary

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

DrawUVDisplacementToRenderTarget

(
    const UObject* WorldContextObj...,
    const FLensDistortionCameraModel& ...,
    float DistortedHorizontalFOV,
    float DistortedAspectRatio,
    float UndistortOverscanFactor,
    UTextureRenderTarget2D* Output...,
    float OutputMultiply,
    float OutputAdd
)

Draws UV displacement map within the output render target.

Public function Static UFunction BlueprintPure, Category, Meta

bool

 

EqualEqual_CompareLensDistortionModels

(
    const FLensDistortionCameraModel& ...,
    const FLensDistortionCameraModel& ...
)

Returns true if A is equal to B (A == B)

Public function Static UFunction BlueprintPure, Category

void

 

GetUndistortOverscanFactor

(
    const FLensDistortionCameraModel& ...,
    float DistortedHorizontalFOV,
    float DistortedAspectRatio,
    float& UndistortOverscanFactor
)

Returns the overscan factor required for the undistort rendering to avoid unrendered distorted pixels.

Public function Static UFunction BlueprintPure, Category, Meta

bool

 

NotEqual_CompareLensDistortionModels

(
    const FLensDistortionCameraModel& ...,
    const FLensDistortionCameraModel& ...
)

Returns true if A is not equal to B (A != B)