Class Index | File Index

Classes


Class threedee.PitchUpdater


Extends .
The pitch updater rotates a node around the X axis.
Defined in: PitchUpdater.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Constructs a new pitch updater.
Method Summary
Method Attributes Method Name and Description
 
Returns the current angle.
 
setAngle(angle)
Sets the angle.
 
update(node, delta)
Class Detail
threedee.PitchUpdater(angle)
Constructs a new pitch updater.
Parameters:
{number} angle
The angle the node should be rotated around the X axis per second. Measured in clock-wise RAD.
Method Detail
{number} getAngle()
Returns the current angle.
Returns:
{number} The angle the node is rotated around the X axis per second. Measured in clock-wise RAD.

setAngle(angle)
Sets the angle.
Parameters:
{number} angle
The angle the node should be rotated around the X axis per second. Measured in clock-wise RAD.

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)