C++ Java Unity
Unity Reference
CameraDevice.CameraField Struct Reference

Camera fields are advanced properties of the camera More...

Public Types

enum  DataType {
  TypeString,
  TypeInt64,
  TypeFloat,
  TypeBool,
  TypeInt64Range,
  TypeUnknown
}
 

Public Attributes

string Key
 The key to identify this field More...
 
DataType Type
 The data type of this field More...
 

Detailed Description

Camera fields are advanced properties of the camera

Camera fields represent advanced camera properties and capture parameters such as exposure compensation, ISO and others. A field may be read only (e.g. maximum exposure compensation value) or read-write (e.g. exposure compensation value).

Camera fields are accessed as key-value pairs, where the value may be one of multiple basic types.

Camera fields are highly platform dependent and the keys to identify a given property and available values to set will vary across operating system, operating system version, camera API version and the device model itself. Furthermore the behavior of the camera driver wrt. these fields is highly ragmented. Thus CameraFields should only be used for specific use case and devices.

All of the Camera field APIs shall be called only after initializing the CameraDevice.

Camera Fields are currently only implemented for Android.

Finally setting advanced camera parameters may adversely affect Vuforia tracking performance as well as cause functional issues.

Member Enumeration Documentation

enum DataType
strong
Enumerator
TypeString 
TypeInt64 

Null terminated array of characters (Ascii)

TypeFloat 

64 bit signed integer

TypeBool 

Single precision floating point.

TypeInt64Range 

Boolean.

TypeUnknown 

Array of two 32 bit signed integer.

Member Data Documentation

string Key

The key to identify this field

DataType Type

The data type of this field