Download node_modules/three/src/animation/tracks/StringKeyframeTrack.js from SimWorld-AI/industrial-harbor-viewer: direct link, hf CLI and curl.
- Browser
- Download file 575 Bytes
-
https://huggingface.co/spaces/SimWorld-AI/industrial-harbor-viewer/resolve/main/node_modules/three/src/animation/tracks/StringKeyframeTrack.js
- Command line
-
hf download hf://spaces/SimWorld-AI/industrial-harbor-viewer/node_modules/three/src/animation/tracks/StringKeyframeTrack.js
-
curl -L -o StringKeyframeTrack.js https://huggingface.co/spaces/SimWorld-AI/industrial-harbor-viewer/resolve/main/node_modules/three/src/animation/tracks/StringKeyframeTrack.js
575 Bytes
| import { InterpolateDiscrete } from '../../constants.js'; | |
| import { KeyframeTrack } from '../KeyframeTrack.js'; | |
| /** | |
| * A Track that interpolates Strings | |
| */ | |
| class StringKeyframeTrack extends KeyframeTrack {} | |
| StringKeyframeTrack.prototype.ValueTypeName = 'string'; | |
| StringKeyframeTrack.prototype.ValueBufferType = Array; | |
| StringKeyframeTrack.prototype.DefaultInterpolation = InterpolateDiscrete; | |
| StringKeyframeTrack.prototype.InterpolantFactoryMethodLinear = undefined; | |
| StringKeyframeTrack.prototype.InterpolantFactoryMethodSmooth = undefined; | |
| export { StringKeyframeTrack }; | |