new MouseKeyboard(canvas)
Creates new device configuration for use with mouse and keyboard for first person controls
Parameters:
| Name | Type | Description |
|---|---|---|
canvas |
Methods
update(orientation)
Updates position and orientation based on mouse and keyboard input
Parameters:
| Name | Type | Description |
|---|---|---|
orientation |
Ayce.Quaternion |