All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Modules Pages
Loading...
Searching...
No Matches
Camera Feature

Classes

class  CameraDevice
 Represents the physical camera used to capture the real world. More...
 
class  Image
 Representation of an image, typically returned by the CameraDevice. More...
 
class  ImageDescription
 Contains detailed information of image data. More...
 
class  Intrinsics
 Representation of physical details of the camera. More...
 

Enumerations

enum  CameraMode {
  MODE_DEFAULT = -1 ,
  MODE_OPTIMIZE_SPEED = -2 ,
  MODE_OPTIMIZE_QUALITY = -3
}
 The mode used for camera capturing and video rendering. The camera device mode is set through the Unity inspector. More...
 
enum  DistortionMode {
  MODE_LINEAR = 1 ,
  MODE_1_PARAM = 5 ,
  MODE_2_PARAMS = 6 ,
  MODE_3_PARAMS = 2 ,
  MODE_4_PARAMS = 3 ,
  MODE_5_PARAMS = 4 ,
  MODE_6_PARAMS = 7 ,
  MODE_8_PARAMS = 8
}
 
enum  FocusMode {
  FOCUS_MODE_TRIGGERAUTO = 1 ,
  FOCUS_MODE_CONTINUOUSAUTO = 2 ,
  FOCUS_MODE_INFINITY = 3 ,
  FOCUS_MODE_MACRO = 4 ,
  FOCUS_MODE_FIXED = 5
}
 The different focus modes for the active camera. More...
 
enum  PixelFormat {
  UNKNOWN_FORMAT = 1 ,
  RGB565 = 2 ,
  RGB888 = 3 ,
  GRAYSCALE = 4 ,
  RGBA8888 = 5 ,
  NV21 = 6 ,
  NV12 = 7 ,
  YV12 = 8 ,
  YUV420P = 9 ,
  YUYV = 10
}
 Pixel encoding types. More...
 

Detailed Description

Enumeration Type Documentation

◆ CameraMode

enum CameraMode

The mode used for camera capturing and video rendering. The camera device mode is set through the Unity inspector.

Enumerator
MODE_DEFAULT 

Best compromise between speed and quality.

MODE_OPTIMIZE_SPEED 

Optimize for speed. Quality of the video background could suffer.

MODE_OPTIMIZE_QUALITY 

Optimize for quality. Application performance could go down.

◆ DistortionMode

Enumerator
MODE_LINEAR 

Linear model (no distortion or undistortion)

MODE_1_PARAM 

ARCTAN model with one parameter.

MODE_2_PARAMS 

2 radial parameters, no tangential parameters

MODE_3_PARAMS 

3 radial parameters, no tangential parameters

MODE_4_PARAMS 

2 radial parameters, plus 2 tangential parameters

MODE_5_PARAMS 

3 radial parameters, plus 2 tangential parameters

MODE_6_PARAMS 

6 radial parameters (rational), no tangential parameters

MODE_8_PARAMS 

6 radial parameters (rational), plus 2 tangential parameters

◆ FocusMode

enum FocusMode

The different focus modes for the active camera.

Enumerator
FOCUS_MODE_TRIGGERAUTO 

Triggers a single autofocus operation.

FOCUS_MODE_CONTINUOUSAUTO 

Continuous autofocus mode.

FOCUS_MODE_INFINITY 

Focus set to infinity.

FOCUS_MODE_MACRO 

Macro mode for close-up focus.

FOCUS_MODE_FIXED 

Fixed focus mode.

◆ PixelFormat

Pixel encoding types.

Enumerator
UNKNOWN_FORMAT 

Unknown format - default pixel type for undefined images.

RGB565 

A color pixel stored in 2 bytes using 5 bits for red, 6 bits for green and 5 bits for blue.

RGB888 

A color pixel stored in 3 bytes using 8 bits each.

GRAYSCALE 

A grayscale pixel stored in one byte.

RGBA8888 

A color pixel stored in 4 bytes using 8 bits each.

NV21 

A color pixel stored in 12 or more bits using Y, U and V planes.

NV12 

A color pixel stored in 12 or more bits using Y, U and V planes.

YV12 

A color pixel stored in 12 or more bits using discreet Y, U and V planes.

YUV420P 

A color pixel stored in 12 or more bits using discreet Y, U and V planes.

YUYV 

A color pixel stored in 12 or more bits using interleaved Y, U and V planes.