@tresjs/cientos 4.1.1 → 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -222,6 +222,22 @@ export interface OrbitControlsProps {
222
222
  * @see https://threejs.org/docs/#examples/en/controls/OrbitControls.rotateSpeed
223
223
  */
224
224
  rotateSpeed?: number;
225
+ /**
226
+ * This object contains references to the mouse actions used by the controls.
227
+ * LEFT: Rotate around the target
228
+ * MIDDLE: Zoom the camera
229
+ * RIGHT: Pan the camera
230
+ *
231
+ * @default { LEFT: MOUSE.ROTATE, MIDDLE: MOUSE.DOLLY, RIGHT: MOUSE.PAN }
232
+ * @type {{ LEFT?: number, MIDDLE?: number, RIGHT?: number }}
233
+ * @memberof OrbitControlsProps
234
+ * @see https://threejs.org/docs/#examples/en/controls/OrbitControls.mouseButtons
235
+ */
236
+ mouseButtons?: {
237
+ LEFT?: number;
238
+ MIDDLE?: number;
239
+ RIGHT?: number;
240
+ };
225
241
  }
226
242
  declare const _default: import('vue').DefineComponent<OrbitControlsProps, {
227
243
  instance: import('vue').ShallowRef<OrbitControls | null, OrbitControls | null>;
@@ -236,6 +252,11 @@ declare const _default: import('vue').DefineComponent<OrbitControlsProps, {
236
252
  }>, {
237
253
  maxDistance: number;
238
254
  target: TresVector3;
255
+ mouseButtons: {
256
+ LEFT?: number;
257
+ MIDDLE?: number;
258
+ RIGHT?: number;
259
+ };
239
260
  touches: {
240
261
  ONE?: number | undefined;
241
262
  TWO?: number | undefined;