animationClipWeights
animationClipWeights(
track,time,lengthOf):AnimationClipWeight[]
Defined in: sdk/src/timeline/timelineAnimation.ts:105
The clips of track that count at time, with their weights: ramps over the ease in and out, or over the overlap
with a neighbour, which makes the overlap a crossfade. Where no clip plays, the one before fills the time with its
post-extrapolation (the track’s hold is every clip’s hold), and before the first clip its pre-extrapolation, at
full weight; the ease on an end that is extrapolated is not used. lengthOf gives a clip’s animation length (for
looping and holding), 0 when unknown.
Parameters
Section titled “Parameters”number
lengthOf
Section titled “lengthOf”(clip) => number
Returns
Section titled “Returns”AnimationClipWeight[]