Class: Controls

Babylon. Controls


new Controls(desktop)

Manages keyboard and pointer observables

Parameters:
Name Type Description
desktop Computer

Computer the controls link to

Properties:
Name Type Argument Default Description
scene scene <optional>
desktop.scene

The scene that the keyboard will be added to

room room <optional>
desktop.room

The room that the keyboard will send events to