ConstructorOptions

sealed interface ConstructorOptions(source)

Properties

Link copied to clipboard
abstract var times: ReadonlyArray<Double>

An array of strictly increasing, unit-less, floating-point times at each point. The values are in no way connected to the clock time. They are the parameterization for the curve.

Link copied to clipboard

The array of floating-point control weights given. The weights are ordered such that all weights for the targets are given in chronological order and order in which they appear in the glTF from which the morph targets come. This means for 2 targets, weights = w(0,0), w(0,1), w(1,0), w(1,1) ... where i and j in w(i,j) are the time indices and target indices, respectively.