Class threedee.YawUpdater
Extends
.
The yaw updater rotates a node around the Y axis.
Defined in: YawUpdater.js.
Constructor Attributes | Constructor Name and Description |
---|---|
threedee.YawUpdater(angle)
Constructs a new yaw updater.
|
Method Attributes | Method Name and Description |
---|---|
getAngle()
Returns the current angle.
|
|
setAngle(angle)
Sets the angle.
|
|
update(node, delta)
|
Class Detail
threedee.YawUpdater(angle)
Constructs a new yaw updater.
- Parameters:
- {number} angle
- The angle the node should be rotated around the Y 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