Skip to main content

GamepadBoxSet

@3dverse/livelink-react v0.2.32


@3dverse/livelink-react / GamepadBoxSet

Class: GamepadBoxSet

Defined in: livelink.react/sources/web-xr/WebXRInputRelay.ts:32

Constructors

new GamepadBoxSet()

new GamepadBoxSet(hand, buttonCount, axesCount): GamepadBoxSet

Defined in: livelink.react/sources/web-xr/WebXRInputRelay.ts:40

Parameters

hand

XRHandedness

buttonCount

number

axesCount

number

Returns

GamepadBoxSet

Properties

hand

hand: XRHandedness

Defined in: livelink.react/sources/web-xr/WebXRInputRelay.ts:34


buttonBoxes

buttonBoxes: ButtonBox[]

Defined in: livelink.react/sources/web-xr/WebXRInputRelay.ts:35


axesBoxes

axesBoxes: AxesBox[]

Defined in: livelink.react/sources/web-xr/WebXRInputRelay.ts:36


matrix

matrix: Matrix4

Defined in: livelink.react/sources/web-xr/WebXRInputRelay.ts:37

Methods

updateState()

updateState(gamepad): void

Defined in: livelink.react/sources/web-xr/WebXRInputRelay.ts:65

Parameters

gamepad

Gamepad

Returns

void