GoogleARCore.ARCoreCameraConfigFilter

The ARCoreCameraConfigFilter class derives a list of camera configurations available on the device at runtime.

Summary

This is used to derive a list of camera configurations available on the device at runtime to select from.

NOTE: It is possible to select options in such a way that some devices will have no available configurations at runtime. In this case, your app will not run.

An app may adjust its capabilities at runtime by selecting a wider range of config filters and using ARCoreSession.RegisterChooseCameraConfigurationCallback( ARCoreSession.OnChooseCameraConfigurationDelegate) to specify a selection function. In that function the app may then adjust its runtime settings and select an appropriate camera configuration. If no callback is registered, ARCore will use the first CameraConfig in the list of available configurations.

Inheritance

Inherits from: ScriptableObject

Public attributes

DepthSensorUsage
This allows an app to use or disable a hardware depth sensor if present on the device.
TargetCameraFramerate
This is the camera frame rates filter for the currently selected camera.

Public functions

OnValidate()
void
Unity OnValidate.

Classes

GoogleARCore.ARCoreCameraConfigFilter.DepthSensorUsageFilter

This allows an app to use or disable a hardware depth sensor if present on the device.

GoogleARCore.ARCoreCameraConfigFilter.TargetCameraFramerateFilter

This is the camera frame rates filter for the currently selected camera.

Public attributes

DepthSensorUsage

DepthSensorUsageFilter DepthSensorUsage

This allows an app to use or disable a hardware depth sensor if present on the device.

TargetCameraFramerate

TargetCameraFramerateFilter TargetCameraFramerate

This is the camera frame rates filter for the currently selected camera.

Public functions

OnValidate

void OnValidate()

Unity OnValidate.