Documentation

Classes

Class CL3D.AnimatorRotation

Scene node animator making CL3D.SceneNodes rotate

Extends CL3D.Animator.

Class Overview
CL3D.AnimatorRotation(speed)
Scene node animator making CL3D.SceneNodes rotate
Parameters:
speed
{CL3D.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 CL3D.Animator:
createClone, 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:
{CL3D.SceneNode} 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'.

© 2011-2018 N.Gebhardt, Ambiera
Documentation generated by JsDoc Toolkit