UNPKG

@babylonjs/core

Version:

Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.

31 lines (30 loc) 1.21 kB
import type { Camera } from "../Cameras/camera.js"; import type { VRCameraMetrics } from "../Cameras/VR/vrCameraMetrics.js"; import { PostProcess } from "./postProcess.js"; import type { Nullable } from "../types.js"; /** * VRDistortionCorrectionPostProcess used for mobile VR */ export declare class VRDistortionCorrectionPostProcess extends PostProcess { private _isRightEye; private _distortionFactors; private _postProcessScaleFactor; private _lensCenterOffset; private _scaleIn; private _scaleFactor; private _lensCenter; /** * Gets a string identifying the name of the class * @returns "VRDistortionCorrectionPostProcess" string */ getClassName(): string; /** * Initializes the VRDistortionCorrectionPostProcess * @param name The name of the effect. * @param camera The camera to apply the render pass to. * @param isRightEye If this is for the right eye distortion * @param vrMetrics All the required metrics for the VR camera */ constructor(name: string, camera: Nullable<Camera>, isRightEye: boolean, vrMetrics: VRCameraMetrics); protected _gatherImports(useWebGPU: boolean, list: Promise<any>[]): void; }