Function: isDeviceCameraPoseAvailable()
isDeviceCameraPoseAvailable(
deviceCamera,xrCameras):boolean
Defined in: src/camera/CameraUtils.ts:141
Whether a device-camera pose can currently be resolved. This is false during the brief startup window before either the simulator camera is registered or the WebXR session exposes its cameras. While false, camera parameters are genuinely unavailable, and camera-dependent work should be skipped rather than run against a camera that does not exist yet.
Parameters
deviceCamera
The device camera, if configured.
XRDeviceCamera | undefined
xrCameras
The WebXR array camera, or null outside an XR session.
WebXRArrayCamera | null
Returns
boolean
True once a camera pose can be resolved.