Documentation

Classes

Class AnimatorRotation

Scene node animator making SceneNodes rotate

Extends Animator.

Class Overview
AnimatorRotation(speed)
Scene node animator making SceneNodes rotate
Parameters:
speed
{Vect3d} vector defining the RotationSpeed in each direction

Method Summary
Method Attributes Method Name and Description
 
animateNode(n, timeMs:)
Animates the scene node it is attached to and returns true if scene node was modified.
 
Returns the type of the animator.
Methods borrowed from class Animator:
onKeyDown, onKeyUp, onMouseDown, onMouseMove, onMouseUp, onMouseWheel
Method Detail
animateNode(n, timeMs:)
Animates the scene node it is attached to and returns true if scene node was modified.
Parameters:
n
The Scene node which needs to be animated this frame.
timeMs:
The time in milliseconds since the start of the scene.

getType()
Returns the type of the animator. For the AnimatorRotation, this will return 'rotation'.

© 2010 N.Gebhardt, Ambiera
Documentation generated by JsDoc Toolkit