import type { Nullable } from "../../types"; import type { FollowCamera } from "../../Cameras/followCamera"; import { BaseCameraPointersInput } from "../../Cameras/Inputs/BaseCameraPointersInput"; import type { PointerTouch } from "../../Events/pointerEvents"; /** * Manage the pointers inputs to control an follow camera. * @see https://doc.babylonjs.com/features/featuresDeepDive/cameras/customizingCameraInputs */ export declare class FollowCameraPointersInput extends BaseCameraPointersInput { /** * Defines the camera the input is attached to. */ camera: FollowCamera; /** * Gets the class name of the current input. * @returns the class name */ getClassName(): string; /** * Defines the pointer angular sensibility along the X axis or how fast is * the camera rotating. * A negative number will reverse the axis direction. */ angularSensibilityX: number; /** * Defines the pointer angular sensibility along the Y axis or how fast is * the camera rotating. * A negative number will reverse the axis direction. */ angularSensibilityY: number; /** * Defines the pointer pinch precision or how fast is the camera zooming. * A negative number will reverse the axis direction. */ pinchPrecision: number; /** * pinchDeltaPercentage will be used instead of pinchPrecision if different * from 0. * It defines the percentage of current camera.radius to use as delta when * pinch zoom is used. */ pinchDeltaPercentage: number; /** * Pointer X axis controls zoom. (X axis modifies camera.radius value.) */ axisXControlRadius: boolean; /** * Pointer X axis controls height. (X axis modifies camera.heightOffset value.) */ axisXControlHeight: boolean; /** * Pointer X axis controls angle. (X axis modifies camera.rotationOffset value.) */ axisXControlRotation: boolean; /** * Pointer Y axis controls zoom. (Y axis modifies camera.radius value.) */ axisYControlRadius: boolean; /** * Pointer Y axis controls height. (Y axis modifies camera.heightOffset value.) */ axisYControlHeight: boolean; /** * Pointer Y axis controls angle. (Y axis modifies camera.rotationOffset value.) */ axisYControlRotation: boolean; /** * Pinch controls zoom. (Pinch modifies camera.radius value.) */ axisPinchControlRadius: boolean; /** * Pinch controls height. (Pinch modifies camera.heightOffset value.) */ axisPinchControlHeight: boolean; /** * Pinch controls angle. (Pinch modifies camera.rotationOffset value.) */ axisPinchControlRotation: boolean; /** * Log error messages if basic misconfiguration has occurred. */ warningEnable: boolean; onTouch(pointA: Nullable, offsetX: number, offsetY: number): void; onMultiTouch(pointA: Nullable, pointB: Nullable, previousPinchSquaredDistance: number, pinchSquaredDistance: number, previousMultiTouchPanPosition: Nullable, multiTouchPanPosition: Nullable): void; private _warningCounter; private _warning; }