跳转到内容

sampleAnimationTracks

此内容尚不支持你的语言。

sampleAnimationTracks(asset, time, root, deps, lookup): void

Defined in: sdk/src/timeline/timelineAnimation.ts:172

Samples every animation track of asset at time onto its rig below root: each track’s clips as animationClipWeights says, the tracks on one rig composed as layers in track order over what the rig holds now. lookup finds a clip’s animation by its ref (a playing timeline’s own lookup). Writes nothing where no clip counts.

TimelineAsset

number

number

SampleDeps

(ref) => TimelineAsset | undefined

void