Function: sampleEntityAnimation()
ts
function sampleEntityAnimation(
animation,
time,
loop?
): EntityAnimationPose;Defined in: packages/minerender/src/entity/EntityAnimation.ts:78
Samples every bone and channel of an animation at time seconds.
Parameters
| Parameter | Type | Default value |
|---|---|---|
animation | EntityAnimation | undefined |
time | number | undefined |
loop | boolean | animation.loop |