Class Index | File Index

Classes


Class threedee.KeyboardUpdater


Extends .
This updater can be bound to a HTML element (Window is default) where it listens for key presses and releases to transform the connected node according to the key pressed and velocity settings.
Defined in: KeyboardUpdater.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Constructs a new keyboard updater connected to the specified HTML element.
Method Summary
Method Attributes Method Name and Description
 
update(node, delta)
Class Detail
threedee.KeyboardUpdater(element)
Constructs a new keyboard updater connected to the specified HTML element.
Parameters:
{(Window|Element)=} element
The element to which the keyboard event handlers are connected. This is optional and defaults to the browser window.
Method Detail
update(node, delta)
Parameters:
{!threedee.SceneNode} node
{number} delta

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Jan 03 2012 16:18:57 GMT+0100 (CET)