• Public
  • Public/Protected
  • All

Class ArcRotateCameraGamepadInput

Manage the gamepad inputs to control an arc rotate camera.




  • ArcRotateCameraGamepadInput




cameraSearch playground for camera

Defines the camera the input is attached to.

gamepadSearch playground for gamepad

gamepad: Nullable<Gamepad>

Defines the gamepad the input is gathering event from.

gamepadMoveSensibilitySearch playground for gamepadMoveSensibility

gamepadMoveSensibility: number

Defines the gamepad move sensibility. This is the threshold from when moving starts to be accounted for for to prevent jittering.

gamepadRotationSensibilitySearch playground for gamepadRotationSensibility

gamepadRotationSensibility: number

Defines the gamepad rotation sensibility. This is the threshold from when rotation starts to be accounted for to prevent jittering.



  • get invertYAxis(): boolean
  • set invertYAxis(value: boolean): any
  • Gets or sets a boolean indicating that Yaxis (for right stick) should be inverted

    Returns boolean

  • Gets or sets a boolean indicating that Yaxis (for right stick) should be inverted


    • value: boolean

    Returns any


attachControlSearch playground for attachControl

  • attachControl(): void
  • Attach the input controls to a specific dom element to get the input from.

    Returns void

checkInputsSearch playground for checkInputs

  • checkInputs(): void
  • Update the current camera state depending on the inputs that have been used this frame. This is a dynamically created lambda to avoid the performance penalty of looping for inputs in the render loop.

    Returns void

detachControlSearch playground for detachControl

  • detachControl(): void
  • Detach the current controls from the specified dom element.

    Returns void

getClassNameSearch playground for getClassName

  • getClassName(): string
  • Gets the class name of the current intput.

    Returns string

    the class name

getSimpleNameSearch playground for getSimpleName

  • getSimpleName(): string
  • Get the friendly name associated with the input class.

    Returns string

    the input friendly name


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