@@ -1,4 +1,7 @@
/**
+ *
+ * A clip that has been explicitly scheduled.
* @author Ben Houston / http://clara.io/
* @author David Sarno / http://lighthaus.us/
*/
@@ -35,7 +35,7 @@ THREE.Clip.prototype = {
importFromData: function( data ) {
- init: function ( data ) {
+ // TODO: Convert this copy-paste code from AnimationHandler into an importer into Tracks and Clips with some improvements to the track names
if ( data.initialized === true ) return data;
@@ -1,4 +1,10 @@
-
+/**
+ * A Track that returns a constant value.
+ * @author Ben Houston / http://clara.io/
+ * @author David Sarno / http://lighthaus.us/
+ */
THREE.ConstantTrack = function ( name, value ) {
@@ -1,4 +1,12 @@
+ * A Track that returns a keyframe interpolated value.
+ * TODO: Add cubic in addition to linear interpolation.
THREE.KeyframeTrack = function ( name, keys ) {
+ * Mixes together the Clips scheduled by Actions and applies them to the root and subtree
@@ -1,3 +1,13 @@
+ * A Track base class that has a getAt function and name handling.
+ * TODO: Add support for bone indices via a number rather than a name?
+ * TODO: Add support for explicitly setting the nodeName and propertyName?
THREE.Track = function ( name ) {