unreal.LensDistortionCameraModel

class unreal.LensDistortionCameraModel(k1: float = 0.0, k2: float = 0.0, k3: float = 0.0, p1: float = 0.0, p2: float = 0.0, f: Vector2D = Ellipsis, c: Vector2D = Ellipsis)

Bases: StructBase

Lens Distortion Camera Model

C++ Source:

  • Plugin: LensDistortion

  • Module: LensDistortion

  • File: LensDistortionAPI.h

Editor Properties: (see get_editor_property/set_editor_property)

  • c (Vector2D): [Read-Write] Camera matrix’s Cx and Cy.

  • f (Vector2D): [Read-Write] Camera matrix’s Fx and Fy.

  • k1 (float): [Read-Write] Radial parameter #1.

  • k2 (float): [Read-Write] Radial parameter #2.

  • k3 (float): [Read-Write] Radial parameter #3.

  • p1 (float): [Read-Write] Tangential parameter #1.

  • p2 (float): [Read-Write] Tangential parameter #2.

property c: Vector2D

[Read-Write] Camera matrix’s Cx and Cy.

Type:

(Vector2D)

property f: Vector2D

[Read-Write] Camera matrix’s Fx and Fy.

Type:

(Vector2D)

property k1: float

[Read-Write] Radial parameter #1.

Type:

(float)

property k2: float

[Read-Write] Radial parameter #2.

Type:

(float)

property k3: float

[Read-Write] Radial parameter #3.

Type:

(float)

property p1: float

[Read-Write] Tangential parameter #1.

Type:

(float)

property p2: float

[Read-Write] Tangential parameter #2.

Type:

(float)