123456789101112131415161718192021222324252627282930313233 |
- import { KeyframeTrackPrototype } from '../KeyframeTrackPrototype.js';
- import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor.js';
- /**
- *
- * A Track of vectored keyframe values.
- *
- *
- * @author Ben Houston / http://clara.io/
- * @author David Sarno / http://lighthaus.us/
- * @author tschw
- */
- function VectorKeyframeTrack( name, times, values, interpolation ) {
- KeyframeTrackConstructor.call( this, name, times, values, interpolation );
- }
- VectorKeyframeTrack.prototype = Object.assign( Object.create( KeyframeTrackPrototype ), {
- constructor: VectorKeyframeTrack,
- ValueTypeName: 'vector'
- // ValueBufferType is inherited
- // DefaultInterpolation is inherited
- } );
- export { VectorKeyframeTrack };
|