Function: sampleEntityKeyframes()
ts
function sampleEntityKeyframes(keyframes, time): TripleArray;Defined in: packages/minerender/src/entity/EntityAnimation.ts:49
Samples one channel like vanilla's KeyframeAnimation.Entry: the first value holds before the first keyframe and the last value after the last one; in between, the later keyframe selects the interpolation.
Parameters
| Parameter | Type |
|---|---|
keyframes | readonly EntityAnimationKeyframe[] |
time | number |