Class CameraInfo
- Namespace
- Uralstech.UXR.QuestCamera
Wrapper for Camera2's CameraCharacteristics.
public record CameraInfo
- Inheritance
-
objectCameraInfo
Constructors
CameraInfo(AndroidJavaObject)
public CameraInfo(AndroidJavaObject cameraInfo)
Parameters
cameraInfoAndroidJavaObject
Fields
CameraId
The actual device ID of this camera.
public readonly string CameraId
Field Value
- string
Eye
(Meta Quest) The eye which the camera is closest to.
public readonly CameraInfo.CameraEye Eye
Field Value
Intrinsics
The intrinsic data for this camera.
public readonly CameraInfo.CameraIntrinsics? Intrinsics
Field Value
LensPoseRotation
The orientation of the camera relative to the sensor coordinate system.
public readonly Quaternion? LensPoseRotation
Field Value
- Quaternion?
LensPoseTranslation
The position of the camera's optical center.
public readonly Vector3? LensPoseTranslation
Field Value
- Vector3?
NativeCameraCharacteristics
The native CameraCharacteristics object.
public readonly AndroidJavaObject NativeCameraCharacteristics
Field Value
- AndroidJavaObject
Source
(Meta Quest) The source of the camera feed.
public readonly CameraInfo.CameraSource Source
Field Value
SupportedResolutions
The resolutions supported by this camera.
public readonly Resolution[] SupportedResolutions
Field Value
- Resolution[]
Methods
Dispose()
Releases native plugin resources.
public void Dispose()
Operators
implicit operator string(CameraInfo)
public static implicit operator string(CameraInfo camera)
Parameters
cameraCameraInfo
Returns
- string