unreal.CameraLensSettings

class unreal.CameraLensSettings(min_focal_length: float = 0.0, max_focal_length: float = 0.0, min_f_stop: float = 0.0, max_f_stop: float = 0.0, minimum_focus_distance: float = 0.0, squeeze_factor: float = 0.0, diaphragm_blade_count: int = 0)

Bases: StructBase

#note, this struct has a details customization in CameraLensSettingsCustomization.cpp/h

C++ Source:

  • Module: CinematicCamera

  • File: CineCameraSettings.h

Editor Properties: (see get_editor_property/set_editor_property)

  • diaphragm_blade_count (int32): [Read-Write] Diaphragm Blade Count: Number of blades of diaphragm.

  • max_f_stop (float): [Read-Write] Max FStop: Maximum aperture for this lens (e.g. 2.8 for an f/2.8 lens)

  • max_focal_length (float): [Read-Write] Max Focal Length: Maximum focal length for this lens

  • min_f_stop (float): [Read-Write] Min FStop: Minimum aperture for this lens (e.g. 2.8 for an f/2.8 lens)

  • min_focal_length (float): [Read-Write] Min Focal Length: Minimum focal length for this lens

  • minimum_focus_distance (float): [Read-Write] Minimum Focus Distance: Shortest distance this lens can focus on.

  • squeeze_factor (float): [Read-Write] Squeeze Factor: Squeeze factor for anamorphic lenses.

property diaphragm_blade_count: int

[Read-Write] Diaphragm Blade Count: Number of blades of diaphragm.

Type:

(int32)

property max_f_stop: float

[Read-Write] Max FStop: Maximum aperture for this lens (e.g. 2.8 for an f/2.8 lens)

Type:

(float)

property max_focal_length: float

[Read-Write] Max Focal Length: Maximum focal length for this lens

Type:

(float)

property min_f_stop: float

[Read-Write] Min FStop: Minimum aperture for this lens (e.g. 2.8 for an f/2.8 lens)

Type:

(float)

property min_focal_length: float

[Read-Write] Min Focal Length: Minimum focal length for this lens

Type:

(float)

property minimum_focus_distance: float

[Read-Write] Minimum Focus Distance: Shortest distance this lens can focus on.

Type:

(float)

property squeeze_factor: float

[Read-Write] Squeeze Factor: Squeeze factor for anamorphic lenses.

Type:

(float)