Function: detectDeviceCameraTarget()
detectDeviceCameraTarget(
userAgent):string
Defined in: src/camera/CameraUtils.ts:43
The DEVICE_CAMERA_PARAMETERS profile for the running browser:
'quest3' in the Meta Quest browser, 'galaxyxr' otherwise. The two
profiles share intrinsics but not the camera-to-eye extrinsics (the Quest
camera is pitched ~15° down), so every consumer of the device-camera pose
must resolve the same profile.
Parameters
userAgent
string = ...
Defaults to navigator.userAgent when available.
Returns
string