Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ArcRotateCameraPointersInput

Manage the pointers inputs to control an arc rotate camera.

see

https://doc.babylonjs.com/how_to/customizing_camera_inputs

Hierarchy

Implements

Index

Properties

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.

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.

Methods

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

Legend

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