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
Mathematic camera model for lens distortion/undistortion.
Camera matrix = | F.X 0 C.x | | 0 F.Y C.Y | | 0 0 1 |
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.