unreal.GoogleARCoreCameraConfig

class unreal.GoogleARCoreCameraConfig(camera_image_resolution: IntPoint = Ellipsis, camera_texture_resolution: IntPoint = Ellipsis, camera_id: str = '', target_fps: int = 0, depth_sensor_usage: int = 0)

Bases: StructBase

Camera configuration from ARCore.

C++ Source:

  • Plugin: GoogleARCore

  • Module: GoogleARCoreBase

  • File: GoogleARCoreTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • camera_id (str): [Read-Write] The id of the camera will be used in this CameraConfig.

  • camera_image_resolution (IntPoint): [Read-Write] CPU-accessible camera image resolution.

  • camera_texture_resolution (IntPoint): [Read-Write] Texture resolution for the camera image accessible to the graphics API and shaders.

  • depth_sensor_usage (int32): [Read-Write] The desired depth sensor usage of the camera.

  • target_fps (int32): [Read-Write] The target FPS of the camera.

property camera_id: str

[Read-Only] The id of the camera will be used in this CameraConfig.

Type:

(str)

property camera_image_resolution: IntPoint

[Read-Only] CPU-accessible camera image resolution.

Type:

(IntPoint)

property camera_texture_resolution: IntPoint

[Read-Only] Texture resolution for the camera image accessible to the graphics API and shaders.

Type:

(IntPoint)

property depth_sensor_usage: int

[Read-Only] The desired depth sensor usage of the camera.

Type:

(int32)

property target_fps: int

[Read-Only] The target FPS of the camera.

Type:

(int32)