ArcRotateCameraMouseWheelInput

Manage the mouse wheel inputs to control an arc rotate camera.

see

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

Hierarchy

  • ArcRotateCameraMouseWheelInput

Implements

Index

Properties

camera

Find examples in Playground

Defines the camera the input is attached to.

wheelDeltaPercentage

Find examples in Playground
wheelDeltaPercentage: number

wheelDeltaPercentage will be used instead of wheelPrecision if different from 0. It defines the percentage of current camera.radius to use as delta when wheel is used.

wheelPrecision

Find examples in Playground
wheelPrecision: number

Gets or Set the mouse wheel 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