import { Camera } from "@galacean/engine"; import { XRTrackedInputDevice } from "../../input/XRTrackedInputDevice"; /** * The manager of XR camera. */ export declare class XRCameraManager { private _xrManager; /** * The fixed foveation of the camera. */ get fixedFoveation(): number; set fixedFoveation(value: number); /** * Attach the camera to the specified input type(Camera, LeftCamera or RightCamera). * The camera entity need to be moved to the XROrigin entity. * @param type - The input type * @param camera - The camera to be attached */ attachCamera(type: XRTrackedInputDevice.Camera | XRTrackedInputDevice.LeftCamera | XRTrackedInputDevice.RightCamera, camera: Camera): void; /** * Detach the camera from the specified input type. * @param type - The input type * @returns The camera that was detached */ detachCamera(type: XRTrackedInputDevice.Camera | XRTrackedInputDevice.LeftCamera | XRTrackedInputDevice.RightCamera): Camera; }