• Public
  • Public/Protected
  • All

Class ArcRotateCameraPointersInput

Manage the pointers inputs to control an arc rotate camera.







angularSensibilityXSearch playground for angularSensibilityX

angularSensibilityX: number

Defines the pointer angular sensibility along the X axis or how fast is the camera rotating.

angularSensibilityYSearch playground for angularSensibilityY

angularSensibilityY: number

Defines the pointer angular sensibility along the Y axis or how fast is the camera rotating.

buttonsSearch playground for buttons

buttons: number[]

Defines the buttons associated with the input to handle camera move.

cameraSearch playground for camera

Defines the camera the input is attached to.

multiTouchPanAndZoomSearch playground for multiTouchPanAndZoom

multiTouchPanAndZoom: boolean

Defines whether panning is enabled for both pan (2 fingers swipe) and zoom (pinch) through multitouch.

multiTouchPanningSearch playground for multiTouchPanning

multiTouchPanning: boolean

Defines whether panning (2 fingers swipe) is enabled through multitouch.

panningSensibilitySearch playground for panningSensibility

panningSensibility: number

Defines the pointer panning sensibility or how fast is the camera moving.

pinchDeltaPercentageSearch playground for pinchDeltaPercentage

pinchDeltaPercentage: 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.

pinchInwardsSearch playground for pinchInwards

pinchInwards: boolean

Revers pinch action direction.

pinchPrecisionSearch playground for pinchPrecision

pinchPrecision: number

Defines the pointer pinch precision or how fast is the camera zooming.

pinchZoomSearch playground for pinchZoom

pinchZoom: boolean

Defines whether zoom (2 fingers pinch) is enabled through multitouch

useNaturalPinchZoomSearch playground for useNaturalPinchZoom

useNaturalPinchZoom: boolean

When useNaturalPinchZoom is true, multi touch zoom will zoom in such that any object in the plane at the camera's target point will scale perfectly with finger motion. Overrides pinchDeltaPercentage and pinchPrecision.

Static MinimumRadiusForPinchSearch playground for MinimumRadiusForPinch

MinimumRadiusForPinch: number

The minimum radius used for pinch, to avoid radius lock at 0


attachControlSearch playground for attachControl

  • attachControl(noPreventDefault?: boolean): void

detachControlSearch playground for detachControl

  • detachControl(): void

getClassNameSearch playground for getClassName

  • getClassName(): string

getSimpleNameSearch playground for getSimpleName

  • getSimpleName(): string

onButtonDownSearch playground for onButtonDown

onButtonUpSearch playground for onButtonUp

  • onButtonUp(): void
  • Called each time a new POINTERUP event occurs. Ie, for each button release.

    Returns void

onContextMenuSearch playground for onContextMenu

  • onContextMenu(evt: PointerEvent): void
  • Called on JS contextmenu event. Override this method to provide functionality.


    • evt: PointerEvent

    Returns void

onDoubleTapSearch playground for onDoubleTap

  • onDoubleTap(): void

onLostFocusSearch playground for onLostFocus

  • onLostFocus(): void

onMultiTouchSearch playground for onMultiTouch

onTouchSearch playground for onTouch


  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method