natiny_mesh_get_animation_count
uint32_t natiny_mesh_get_animation_count(NatinyMesh mesh);
Returns how many clips the glTF file carried for this skeleton.
Parameters
| Name | Type | Description |
|---|---|---|
mesh |
NatinyMesh |
Mesh handle |
Returns
| Type | Description |
|---|---|
uint32_t |
Clip count; 0 when the file carried none or the handle is invalid |
Example
uint32_t clips = natiny_mesh_get_animation_count(hero_mesh);