unreal.GoogleARCoreCameraConfig

class unreal.GoogleARCoreCameraConfig(camera_image_resolution=[0, 0], camera_texture_resolution=[0, 0], camera_id='', target_fps=0, depth_sensor_usage=0)

Bases: unreal.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] Camera ID: The id of the camera will be used in this CameraConfig.

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

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

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

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

property camera_id

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

Type

(str)

property camera_image_resolution

[Read-Only] Camera Image Resolution: CPU-accessible camera image resolution.

Type

(IntPoint)

property camera_texture_resolution

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

Type

(IntPoint)

property depth_sensor_usage

[Read-Only] Depth Sensor Usage: The desired depth sensor usage of the camera.

Type

(int32)

property target_fps

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

Type

(int32)