Capítulo 297 de 859

Chapter 297: StringKeyframeTrack

Core Idea

A track for string keyframe values.

Key Concepts

  • DefaultInterpolation : InterpolateLinear | InterpolateDiscrete | InterpolateSmooth: The default interpolation type of this keyframe track.
  • ValueBufferType : TypedArray | Array: The value buffer type of this keyframe track.
  • ValueTypeName : string: The value type name.

Reference Tables

Constructor

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

Properties

PropertyDescription
`.DefaultInterpolation : InterpolateLinearInterpolateDiscrete
`.ValueBufferType : TypedArrayArray`
.ValueTypeName : stringThe value type name.

Key Takeaways

  1. StringKeyframeTrack extends: KeyframeTrack
  2. Most relevant properties: DefaultInterpolation, ValueBufferType, ValueTypeName.

Connects To