unreal.CameraLensSettings

class unreal.CameraLensSettings(min_focal_length=50.0, max_focal_length=50.0, min_f_stop=2.0, max_f_stop=2.0, minimum_focus_distance=15.0, diaphragm_blade_count=5)

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.

property diaphragm_blade_count

[Read-Write] Number of blades of diaphragm.

Type

(int32)

property max_f_stop

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

Type

(float)

property max_focal_length

[Read-Write] Maximum focal length for this lens

Type

(float)

property min_f_stop

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

Type

(float)

property min_focal_length

[Read-Write] Minimum focal length for this lens

Type

(float)

property minimum_focus_distance

[Read-Write] Shortest distance this lens can focus on.

Type

(float)