voxolith

TouchControls

The on-screen controls, from makeTouchControls.

Defined in: engine/src/input/touch.ts:53

Methods

dispose()

dispose(): void;

Defined in: engine/src/input/touch.ts:58

Remove the overlay and its listeners and zero every virtual value it set.

Returns

void


setVisible()

setVisible(on: boolean): void;

Defined in: engine/src/input/touch.ts:55

Show or hide the overlay. In "auto" mode the next device change can override this.

Parameters

ParameterType
onboolean

Returns

void


visible()

visible(): boolean;

Defined in: engine/src/input/touch.ts:56

Returns

boolean

On this page