From 854cdbd2ecff75de01990b16d4b8038c213214bf Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Sun, 26 Feb 2023 12:22:08 +0800 Subject: [PATCH] add setAnimationFrame --- ios/include/SceneAsset.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ios/include/SceneAsset.hpp b/ios/include/SceneAsset.hpp index 9028fea6..63415dbf 100644 --- a/ios/include/SceneAsset.hpp +++ b/ios/include/SceneAsset.hpp @@ -60,6 +60,8 @@ namespace polyvox { /// void playAnimation(int index, bool loop, bool reverse); + void setAnimationFrame(int animationIndex, int animationFrame); + /// /// Manually set the weights for all morph targets in the assets to the provided values. /// See [setAnimation] if you want to do the same across a number of frames (and extended to bone transforms).