unreal.CameraLensSettings

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

Bases: unreal.StructBase

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

C++ Source:

  • Module: CinematicCamera
  • File: CineCameraComponent.h

Editor Properties: (see get_editor_property/set_editor_property)

  • diaphragm_blade_count (int32): [Read-Write] Number of blades of diaphragm.
  • max_f_stop (float): [Read-Write] Maximum aperture for this lens (e.g. 2.8 for an f/2.8 lens)
  • max_focal_length (float): [Read-Write] Maximum focal length for this lens
  • min_f_stop (float): [Read-Write] Minimum aperture for this lens (e.g. 2.8 for an f/2.8 lens)
  • min_focal_length (float): [Read-Write] Minimum focal length for this lens
  • minimum_focus_distance (float): [Read-Write] Shortest distance this lens can focus on.
diaphragm_blade_count

(int32) – [Read-Write] Number of blades of diaphragm.

max_f_stop

(float) – [Read-Write] Maximum aperture for this lens (e.g. 2.8 for an f/2.8 lens)

max_focal_length

(float) – [Read-Write] Maximum focal length for this lens

min_f_stop

(float) – [Read-Write] Minimum aperture for this lens (e.g. 2.8 for an f/2.8 lens)

min_focal_length

(float) – [Read-Write] Minimum focal length for this lens

minimum_focus_distance

(float) – [Read-Write] Shortest distance this lens can focus on.