getCamera method

  1. @override
ArrayCamera getCamera()
override

Returns an instance of {@link ArrayCamera} which represents the XR camera of the active XR session. For each view it holds a separate camera object.

The camera's fov is currently not used and does not reflect the fov of the XR camera. If you need the fov on app level, you have to compute in manually from the XR camera's projection matrices.

@return {ArrayCamera} The XR camera. /

Implementation

@override
ArrayCamera getCamera() {
  return cameraXR;
}