Table of Contents

Class CameraInfo

Wrapper for Camera2's CameraCharacteristics.

public class CameraInfo
Inheritance
object
CameraInfo

Constructors

CameraInfo(AndroidJavaObject)

public CameraInfo(AndroidJavaObject cameraInfo)

Parameters

cameraInfo AndroidJavaObject

Properties

CameraId

The actual device ID of this camera.

public string CameraId { get; }

Property Value

string

Eye

(Meta Quest) The eye which the camera is closest to.

public CameraInfo.CameraEye Eye { get; }

Property Value

CameraInfo.CameraEye

Intrinsics

The intrinsics for this camera.

public CameraInfo.CameraIntrinsics Intrinsics { get; }

Property Value

CameraInfo.CameraIntrinsics

LensPoseRotation

The orientation of the camera relative to the sensor coordinate system.

public Quaternion LensPoseRotation { get; }

Property Value

Quaternion

LensPoseTranslation

The position of the camera optical center.

public Vector3 LensPoseTranslation { get; }

Property Value

Vector3

NativeCameraCharacteristics

The native CameraCharacteristics object.

public AndroidJavaObject NativeCameraCharacteristics { get; }

Property Value

AndroidJavaObject

Source

(Meta Quest) The source of the camera feed.

public CameraInfo.CameraSource Source { get; }

Property Value

CameraInfo.CameraSource

SupportedResolutions

The resolutions supported by this camera.

public Resolution[] SupportedResolutions { get; }

Property Value

Resolution[]

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

Operators

implicit operator string(CameraInfo)

public static implicit operator string(CameraInfo camera)

Parameters

camera CameraInfo

Returns

string