feat: add clearMorphAnimationData function

This commit is contained in:
Nick Fisher committed 2024-07-23 09:38:26 +08:00
1 parent d745712650
commit 41bf9ededa
12 files changed
+105 -15

No files matched your search

@@ -87,6 +87,9 @@ namespace thermion_filament
int numFrames,
float frameLengthInMs);
void clearMorphAnimationBuffer(
EntityId entityId);
bool setMorphTargetWeights(EntityId entityId, const float *const weights, int count);
math::mat4f getLocalTransform(EntityId entityId);
@@ -136,6 +136,9 @@ extern "C"
int numMorphTargets,
int numFrames,
float frameLengthInMs);
EMSCRIPTEN_KEEPALIVE void clear_morph_animation(
void *sceneManager,
EntityId entity);
EMSCRIPTEN_KEEPALIVE void reset_to_rest_pose(
void *sceneManager,