GoogleARCore.ARCoreCameraConfigFilter

The ARCoreCameraConfigFilter class defines the set of features and device capabilities an app would like to have available.

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
Depth Sensor Usage Filter.
TargetCameraFramerate
Camera Frame Rates Filter.

Public functions

OnValidate()
void
Unity OnValidate().

Classes

GoogleARCore.ARCoreCameraConfigFilter.DepthSensorUsageFilter

Depth Sensor Usage.

GoogleARCore.ARCoreCameraConfigFilter.TargetCameraFramerateFilter

Target Camera Frame Rates.

Public attributes

DepthSensorUsage

DepthSensorUsageFilter DepthSensorUsage

Depth Sensor Usage Filter.

TargetCameraFramerate

TargetCameraFramerateFilter TargetCameraFramerate

Camera Frame Rates Filter.

Public functions

OnValidate

void OnValidate()

Unity OnValidate().