add getAnimationDuration method

This commit is contained in:
Nick Fisher
2023-08-08 14:34:15 +08:00
parent fb53881183
commit fa8c6b1ca0
6 changed files with 40 additions and 4 deletions

View File

@@ -28,6 +28,7 @@ namespace polyvox {
void remove(EntityId entity);
void destroyAll();
unique_ptr<vector<string>> getAnimationNames(EntityId entity);
float getAnimationDuration(EntityId entity, int animationIndex);
unique_ptr<vector<string>> getMorphTargetNames(EntityId entity, const char *meshName);
void transformToUnitCube(EntityId e);
inline void updateTransform(EntityId e);