NumberKeyframeTrack - Verge3D User Manual - Soft8Soft
Description: Learn how to use NumberKeyframeTrack in your interactive 3D apps made with Verge3D

KeyframeTrack →

# NumberKeyframeTrack

A Track of numeric keyframe values.

## Constructor

### NumberKeyframeTrack(name : String, times : Array, values : Array, interpolation : Constant)

- name — (required) identifier for the KeyframeTrack.
- times — (required) array of keyframe times.
- values — values for the keyframes at the times specified.
- interpolation — the type of interpolation to use. See Animation Constants for possible values. Default is `InterpolateLinear`.

## Properties

See KeyframeTrack for inherited properties.

### # .ValueTypeName : String

String `'number'`.

## Methods

See KeyframeTrack for inherited methods.

## Source

For more info on how to obtain the source code of this module see this page.