API

Class ArcRotateCameraPointersInput

Manage the pointers inputs to control an arc rotate camera. Uses the inputMap on the movement class to determine which button maps to which interaction.

Hierarchy

  • OrbitCameraPointersInput
    • ArcRotateCameraPointersInput
Index
angularSensibilityX: number = 1000.0

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

angularSensibilityY: number = 1000.0

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

buttons: number[] = ...

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

Defines the camera the input is attached to.

multiTouchPanAndZoom: boolean = true

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

multiTouchPanning: boolean = true

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

panningSensibility: number = 1000.0

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

pinchDeltaPercentage: number = 0

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.

pinchInwards: boolean = true

Revers pinch action direction.

pinchPrecision: number = 12.0

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

pinchZoom: boolean = true

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

useNaturalPinchZoom: boolean = false

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.

MinimumRadiusForPinch: number = 0.001

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