StickValues

Represents a gamepad control stick position

Hierarchy

  • StickValues

Index

Constructors

Properties

Constructors

constructor

Find examples in Playground
  • Initializes the gamepad x and y control stick values

    Parameters

    • x: number

      The x component of the gamepad control stick value

    • y: number

      The y component of the gamepad control stick value

    Returns StickValues

Properties

x

Find examples in Playground
x: number

The x component of the control stick

y

Find examples in Playground
y: number

The y component of the control stick

Generated using TypeDoc