add maxDelta to blend between glTF and dynamic bone animations

This commit is contained in:
Nick Fisher
2024-06-10 22:32:44 +08:00
parent b5ed69483c
commit 5c5897f74d
12 changed files with 84 additions and 33 deletions
@@ -118,8 +118,9 @@ namespace flutter_filament
int numFrames,
float frameLengthInMs,
float fadeOutInSecs,
float fadeInInSecs
);
float fadeInInSecs,
float maxDelta
);
std::unique_ptr<std::vector<math::mat4f>> getBoneRestTranforms(EntityId entityId, int skinIndex);
void resetBones(EntityId entityId);