unreal.LensDistortionCameraModel

class unreal.LensDistortionCameraModel(k1=0.0, k2=0.0, k3=0.0, p1=0.0, p2=0.0, f=[1.0, 1.0], c=[0.5, 0.5])

Bases: unreal.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] C: Camera matrix’s Cx and Cy.

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

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

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

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

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

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

property c

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

Type

(Vector2D)

property f

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

Type

(Vector2D)

property k1

[Read-Write] K1: Radial parameter #1.

Type

(float)

property k2

[Read-Write] K2: Radial parameter #2.

Type

(float)

property k3

[Read-Write] K3: Radial parameter #3.

Type

(float)

property p1

[Read-Write] P1: Tangential parameter #1.

Type

(float)

property p2

[Read-Write] P2: Tangential parameter #2.

Type

(float)