1 |
- {"ast":null,"code":"import { ArcRotateCameraPointersInput } from \"../Cameras/Inputs/arcRotateCameraPointersInput.js\";\nimport { ArcRotateCameraKeyboardMoveInput } from \"../Cameras/Inputs/arcRotateCameraKeyboardMoveInput.js\";\nimport { ArcRotateCameraMouseWheelInput } from \"../Cameras/Inputs/arcRotateCameraMouseWheelInput.js\";\nimport { CameraInputsManager } from \"../Cameras/cameraInputsManager.js\";\n/**\n * Default Inputs manager for the ArcRotateCamera.\n * It groups all the default supported inputs for ease of use.\n * @see https://doc.babylonjs.com/features/featuresDeepDive/cameras/customizingCameraInputs\n */\nexport class ArcRotateCameraInputsManager extends CameraInputsManager {\n /**\n * Instantiates a new ArcRotateCameraInputsManager.\n * @param camera Defines the camera the inputs belong to\n */\n constructor(camera) {\n super(camera);\n }\n /**\n * Add mouse wheel input support to the input manager.\n * @returns the current input manager\n */\n addMouseWheel() {\n this.add(new ArcRotateCameraMouseWheelInput());\n return this;\n }\n /**\n * Add pointers input support to the input manager.\n * @returns the current input manager\n */\n addPointers() {\n this.add(new ArcRotateCameraPointersInput());\n return this;\n }\n /**\n * Add keyboard input support to the input manager.\n * @returns the current input manager\n */\n addKeyboard() {\n this.add(new ArcRotateCameraKeyboardMoveInput());\n return this;\n }\n}","map":{"version":3,"names":["ArcRotateCameraPointersInput","ArcRotateCameraKeyboardMoveInput","ArcRotateCameraMouseWheelInput","CameraInputsManager","ArcRotateCameraInputsManager","constructor","camera","addMouseWheel","add","addPointers","addKeyboard"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/@babylonjs/core/Cameras/arcRotateCameraInputsManager.js"],"sourcesContent":["import { ArcRotateCameraPointersInput } from \"../Cameras/Inputs/arcRotateCameraPointersInput.js\";\nimport { ArcRotateCameraKeyboardMoveInput } from \"../Cameras/Inputs/arcRotateCameraKeyboardMoveInput.js\";\nimport { ArcRotateCameraMouseWheelInput } from \"../Cameras/Inputs/arcRotateCameraMouseWheelInput.js\";\nimport { CameraInputsManager } from \"../Cameras/cameraInputsManager.js\";\n/**\n * Default Inputs manager for the ArcRotateCamera.\n * It groups all the default supported inputs for ease of use.\n * @see https://doc.babylonjs.com/features/featuresDeepDive/cameras/customizingCameraInputs\n */\nexport class ArcRotateCameraInputsManager extends CameraInputsManager {\n /**\n * Instantiates a new ArcRotateCameraInputsManager.\n * @param camera Defines the camera the inputs belong to\n */\n constructor(camera) {\n super(camera);\n }\n /**\n * Add mouse wheel input support to the input manager.\n * @returns the current input manager\n */\n addMouseWheel() {\n this.add(new ArcRotateCameraMouseWheelInput());\n return this;\n }\n /**\n * Add pointers input support to the input manager.\n * @returns the current input manager\n */\n addPointers() {\n this.add(new ArcRotateCameraPointersInput());\n return this;\n }\n /**\n * Add keyboard input support to the input manager.\n * @returns the current input manager\n */\n addKeyboard() {\n this.add(new ArcRotateCameraKeyboardMoveInput());\n return this;\n }\n}\n"],"mappings":"AAAA,SAASA,4BAA4B,QAAQ,mDAAmD;AAChG,SAASC,gCAAgC,QAAQ,uDAAuD;AACxG,SAASC,8BAA8B,QAAQ,qDAAqD;AACpG,SAASC,mBAAmB,QAAQ,mCAAmC;AACvE;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,4BAA4B,SAASD,mBAAmB,CAAC;EAClE;AACJ;AACA;AACA;EACIE,WAAWA,CAACC,MAAM,EAAE;IAChB,KAAK,CAACA,MAAM,CAAC;EACjB;EACA;AACJ;AACA;AACA;EACIC,aAAaA,CAAA,EAAG;IACZ,IAAI,CAACC,GAAG,CAAC,IAAIN,8BAA8B,CAAC,CAAC,CAAC;IAC9C,OAAO,IAAI;EACf;EACA;AACJ;AACA;AACA;EACIO,WAAWA,CAAA,EAAG;IACV,IAAI,CAACD,GAAG,CAAC,IAAIR,4BAA4B,CAAC,CAAC,CAAC;IAC5C,OAAO,IAAI;EACf;EACA;AACJ;AACA;AACA;EACIU,WAAWA,CAAA,EAAG;IACV,IAAI,CAACF,GAAG,CAAC,IAAIP,gCAAgC,CAAC,CAAC,CAAC;IAChD,OAAO,IAAI;EACf;AACJ","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|