Options
All
  • Public
  • Public/Protected
  • All
Menu

Manager for handling gamepads

Hierarchy

  • GamepadManager

Index

Constructors

  • Initializes the gamepad manager

    Parameters

    • Optional _scene: Scene

      BabylonJS scene

    Returns GamepadManager

Properties

onGamepadConnectedObservable: Observable<Gamepad>

observable to be triggered when the gamepad controller has been connected

onGamepadDisconnectedObservable: Observable<Gamepad>

observable to be triggered when the gamepad controller has been disconnected

Accessors

  • The gamepads in the game pad manager

    Returns Gamepad[]

Methods

  • dispose(): void
  • Disposes the gamepad manager

    Returns void

  • Get the gamepad controllers based on type

    Parameters

    • Optional type: number

      The type of gamepad controller

    Returns Nullable<Gamepad>

    Nullable gamepad

Legend

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

Settings

Theme