Skip to main content

Variable: xrDeviceCameraUserOptions

const xrDeviceCameraUserOptions: object

Defined in: src/camera/CameraOptions.ts:99

Type Declaration​

cameraLabel?​

readonly optional cameraLabel: string

enabled​

readonly enabled: boolean = false

rgbToDepthParams​

readonly rgbToDepthParams: object

Parameters for RGB to depth UV mapping given different aspect ratios.

rgbToDepthParams.k1​

readonly k1: number

rgbToDepthParams.k2​

readonly k2: number

rgbToDepthParams.k3​

readonly k3: number

rgbToDepthParams.p1​

readonly p1: number

rgbToDepthParams.p2​

readonly p2: number

rgbToDepthParams.scale​

readonly scale: number

rgbToDepthParams.scaleX​

readonly scaleX: number

rgbToDepthParams.scaleY​

readonly scaleY: number

rgbToDepthParams.translateU​

readonly translateU: number

rgbToDepthParams.translateV​

readonly translateV: number

rgbToDepthParams.xc​

readonly xc: number

rgbToDepthParams.yc​

readonly yc: number

targetDevice?​

readonly optional targetDevice: string

The DEVICE_CAMERA_PARAMETERS key (such as 'galaxyxr', 'aura' or 'quest3') whose intrinsics and pose describe the headset camera. When unset, the profile comes from the user agent, which cannot tell Aura from Galaxy XR. A valid ?camera=<profile> URL parameter overrides this. Read or switch the active profile at runtime with XRDeviceCamera.targetDevice.

videoConstraints?​

readonly optional videoConstraints: object

Constraints for getUserMedia. This will guide the initial camera selection.

willCaptureFrequently​

readonly willCaptureFrequently: boolean = false

Hint for performance optimization on frequent captures.