ArcRotateCameraPointersInput

Manage the pointers inputs to control an arc rotate camera.

see

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

Hierarchy

  • ArcRotateCameraPointersInput

Implements

Index

Properties

angularSensibilityX

Find examples in Playground
angularSensibilityX: number

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

angularSensibilityY

Find examples in Playground
angularSensibilityY: number

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

buttons

Find examples in Playground
buttons: number[]

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

camera

Find examples in Playground

Defines the camera the input is attached to.

multiTouchPanAndZoom

Find examples in Playground
multiTouchPanAndZoom: boolean

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

multiTouchPanning

Find examples in Playground
multiTouchPanning: boolean

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

panningSensibility

Find examples in Playground
panningSensibility: number

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

pinchDeltaPercentage

Find examples in Playground
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.

pinchInwards

Find examples in Playground
pinchInwards: boolean

Revers pinch action direction.

pinchPrecision

Find examples in Playground
pinchPrecision: number

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

Methods

attachControl

Find examples in Playground
  • attachControl(element: HTMLElement, noPreventDefault?: boolean): void

detachControl

Find examples in Playground
  • detachControl(element: Nullable<HTMLElement>): void
  • Detach the current controls from the specified dom element.

    Parameters

    • element: Nullable<HTMLElement>

      Defines the element to stop listening the inputs from

    Returns void

getClassName

Find examples in Playground
  • getClassName(): string

getSimpleName

Find examples in Playground
  • getSimpleName(): string
  • Get the friendly name associated with the input class.

    Returns string

    the input friendly name

Generated using TypeDoc