UNPKG

three

Version:

JavaScript 3D library

26 lines (14 loc) 507 B
import { KeyframeTrack } from '../KeyframeTrack.js'; /** * A Track of vectored keyframe values. */ function VectorKeyframeTrack( name, times, values, interpolation ) { KeyframeTrack.call( this, name, times, values, interpolation ); } VectorKeyframeTrack.prototype = Object.assign( Object.create( KeyframeTrack.prototype ), { constructor: VectorKeyframeTrack, ValueTypeName: 'vector' // ValueBufferType is inherited // DefaultInterpolation is inherited } ); export { VectorKeyframeTrack };