three
Version:
JavaScript 3D library
28 lines (18 loc) • 594 B
JavaScript
/**
*
* A Track of numeric keyframe values.
*
* @author Ben Houston / http://clara.io/
* @author David Sarno / http://lighthaus.us/
* @author tschw
*/
THREE.NumberKeyframeTrack = function ( name, times, values, interpolation ) {
THREE.KeyframeTrack.call( this, name, times, values, interpolation );
};
THREE.NumberKeyframeTrack.prototype =
Object.assign( Object.create( THREE.KeyframeTrack.prototype ), {
constructor: THREE.NumberKeyframeTrack,
ValueTypeName: 'number',
// ValueBufferType is inherited
// DefaultInterpolation is inherited
} );