Function: getCameraParametersSnapshot()
getCameraParametersSnapshot(
camera,xrCameras,deviceCamera,targetDevice):CameraParametersSnapshot|null
Defined in: src/camera/CameraUtils.ts:158
Builds a snapshot of the device camera's view/projection matrices, or returns
null while no camera pose is available yet (see
isDeviceCameraPoseAvailable). Returning null lets per-frame callers
skip cleanly during startup instead of throwing on every frame until a
camera appears.
Parameters
camera
xrCameras
WebXRArrayCamera | null
deviceCamera
targetDevice
string
Returns
CameraParametersSnapshot | null