Class: TouchControls

THREE. TouchControls


new TouchControls(desktop, computerDomElement)

Handles touch input

Parameters:
Name Type Description
desktop Computer

The desktop that the keyboard is connected to

computerDomElement *

The dom elemnt of the scene

Class: TouchControls

THREE. TouchControls


new TouchControls(desktop, sceneContainer)

Handles touch input

Parameters:
Name Type Description
desktop Computer

The desktop that the keyboard is connected to

sceneContainer *

The dom elemnt of the scene