unreal.DistortionRenderingMode

class unreal.DistortionRenderingMode

Bases: EnumBase

Specifies how the distortion should be rendered in the post-processing pipeline

C++ Source:

  • Plugin: CameraCalibrationCore

  • Module: CameraCalibrationCore

  • File: CameraCalibrationTypes.h

POST_PROCESS_MATERIAL: DistortionRenderingMode = Ellipsis

Use the plugin post process material

Type:

0

PREFERRED: DistortionRenderingMode = Ellipsis

Use the lens model’s preferred rendering mode

Type:

2

SCENE_VIEW_EXTENSION: DistortionRenderingMode = Ellipsis

Use the lens distortion scene view extension. Use the console command r.TSR.LensDistortion for further control over when distortion occurs in the post-process pipeline. r.TSR.LensDistortion = 1, distortion will be applied during TSR (default) r.TSR.LensDistortion = 0, distortion will be applied during PrimaryUpscale

Type:

1