unreal.BlueprintCameraPose

class unreal.BlueprintCameraPose(location: Vector = Ellipsis, rotation: Rotator = Ellipsis, target_distance: float = 0.0, field_of_view: float = 0.0, focal_length: float = 0.0, orthographic_width: float = 0.0, aperture: float = 0.0, shutter_speed: float = 0.0, focus_distance: float = 0.0, sensor_width: float = 0.0, sensor_height: float = 0.0, sensor_horizontal_offset: float = 0.0, sensor_vertical_offset: float = 0.0, iso: float = 0.0, squeeze_factor: float = 0.0, overscan: float = 0.0, diaphragm_blade_count: int = 0, near_clipping_plane: float = 0.0, far_clipping_plane: float = 0.0, enable_physical_camera: bool = False, constrain_aspect_ratio: bool = False, aspect_ratio_axis_constraint: AspectRatioAxisConstraint = Ellipsis, projection_mode: CameraProjectionMode = Ellipsis)

Bases: StructBase

Represents a camera pose.

C++ Source:

  • Plugin: GameplayCameras

  • Module: GameplayCameras

  • File: BlueprintCameraPose.h

Editor Properties: (see get_editor_property/set_editor_property)

  • aperture (float): [Read-Write] The aperture (f-stop) of the camera’s lens.

  • aspect_ratio_axis_constraint (AspectRatioAxisConstraint): [Read-Write] The aspect ratio axis constraint to use if aspect ratio is constrained.

  • constrain_aspect_ratio (bool): [Read-Write] Whether the camera should constrain aspect ratio.

  • diaphragm_blade_count (int32): [Read-Write] Number of blades in the lens diaphragm

  • enable_physical_camera (bool): [Read-Write] Whether to setup post-process settings based on physical camera properties such as Aperture, FocusDistance, DiaphragmBladeCount, and so on.

  • far_clipping_plane (float): [Read-Write] The camera’s far clipping plane.

  • field_of_view (float): [Read-Write] The field of view of the camera. May be negative if driven by focal length.

  • focal_length (float): [Read-Write] The focal length of the camera. May be negative if driven directly by field of view.

  • focus_distance (float): [Read-Write] The focus distance of the camera, if different from target distance.

  • iso (float): [Read-Write] The camera sensor sensitivity in ISO.

  • location (Vector): [Read-Write] The location of the camera.

  • near_clipping_plane (float): [Read-Write] The camera’s near clipping plane.

  • orthographic_width (float): [Read-Write] The desired width (in world units) of the orthographic view (ignored in Perspective mode)

  • overscan (float): [Read-Write] Sensor overscan in percentage

  • projection_mode (CameraProjectionMode): [Read-Write] Projection mode - Perspective or orthographic

  • rotation (Rotator): [Read-Write] The rotation of the camera.

  • sensor_height (float): [Read-Write] The height of the camera’s sensor.

  • sensor_horizontal_offset (float): [Read-Write] Horizontal offset of the sensor, in mm.

  • sensor_vertical_offset (float): [Read-Write] Vertical offset of the sensor, in mm.

  • sensor_width (float): [Read-Write] The width of the camera’s sensor.

  • shutter_speed (float): [Read-Write] The shutter speed of the camera’s lens, in 1/seconds

  • squeeze_factor (float): [Read-Write] The squeeze factor of the camera’s lens.

  • target_distance (double): [Read-Write] The distance of the target of the camera.

property aperture: float

[Read-Write] The aperture (f-stop) of the camera’s lens.

Type:

(float)

property aspect_ratio_axis_constraint: AspectRatioAxisConstraint

[Read-Write] The aspect ratio axis constraint to use if aspect ratio is constrained.

Type:

(AspectRatioAxisConstraint)

property constrain_aspect_ratio: bool

[Read-Write] Whether the camera should constrain aspect ratio.

Type:

(bool)

property diaphragm_blade_count: int

[Read-Write] Number of blades in the lens diaphragm

Type:

(int32)

property enable_physical_camera: bool

[Read-Write] Whether to setup post-process settings based on physical camera properties such as Aperture, FocusDistance, DiaphragmBladeCount, and so on.

Type:

(bool)

property far_clipping_plane: float

[Read-Write] The camera’s far clipping plane.

Type:

(float)

property field_of_view: float

[Read-Write] The field of view of the camera. May be negative if driven by focal length.

Type:

(float)

property focal_length: float

[Read-Write] The focal length of the camera. May be negative if driven directly by field of view.

Type:

(float)

property focus_distance: float

[Read-Write] The focus distance of the camera, if different from target distance.

Type:

(float)

property iso: float

[Read-Write] The camera sensor sensitivity in ISO.

Type:

(float)

property location: Vector

[Read-Write] The location of the camera.

Type:

(Vector)

property near_clipping_plane: float

[Read-Write] The camera’s near clipping plane.

Type:

(float)

property orthographic_width: float

[Read-Write] The desired width (in world units) of the orthographic view (ignored in Perspective mode)

Type:

(float)

property overscan: float

[Read-Write] Sensor overscan in percentage

Type:

(float)

property projection_mode: CameraProjectionMode

[Read-Write] Projection mode - Perspective or orthographic

Type:

(CameraProjectionMode)

property rotation: Rotator

[Read-Write] The rotation of the camera.

Type:

(Rotator)

property sensor_height: float

[Read-Write] The height of the camera’s sensor.

Type:

(float)

property sensor_horizontal_offset: float

[Read-Write] Horizontal offset of the sensor, in mm.

Type:

(float)

property sensor_vertical_offset: float

[Read-Write] Vertical offset of the sensor, in mm.

Type:

(float)

property sensor_width: float

[Read-Write] The width of the camera’s sensor.

Type:

(float)

property shutter_speed: float

[Read-Write] The shutter speed of the camera’s lens, in 1/seconds

Type:

(float)

property squeeze_factor: float

[Read-Write] The squeeze factor of the camera’s lens.

Type:

(float)

property target_distance: float

[Read-Write] The distance of the target of the camera.

Type:

(double)