📄 threejs/Core/Animation/StringKeyframeTrack

File: StringKeyframeTrack.md | Updated: 11/15/2025


title: StringKeyframeTrack category: Core layout: docs

StringKeyframeTrack

A track for string keyframe values.

Constructor

new StringKeyframeTrack( name : string, times : Array.<number>, values : Array.<string> )

Constructs a new string keyframe track.

This keyframe track type has no interpolation parameter because the interpolation is always discrete.

name | The keyframe track's name.
---|---
times | A list of keyframe times.
values | A list of keyframe values.

Properties

.DefaultInterpolation : InterpolateLinear | InterpolateDiscrete | InterpolateSmooth

The default interpolation type of this keyframe track.

Default is InterpolateDiscrete.

Overrides: KeyframeTrack#DefaultInterpolation

.ValueBufferType : TypedArray | Array

The value buffer type of this keyframe track.

Default is Array.constructor.

Overrides: KeyframeTrack#ValueBufferType

.ValueTypeName : String

The value type name.

Default is 'string'.

Overrides: KeyframeTrack#ValueTypeName

Source

src/animation/tracks/StringKeyframeTrack.js