b2dMeshClipCount

Number of animation clips in a loaded mesh.

2D Overlay

Parameters & Returns

Parameters

handle Int

Returns

Int

Quick Summary

Number of animation clips in a loaded mesh.

Technical Exegesis...

Returns how many named animation clips the mesh has (0 for a static mesh). Each clip is a frame range within the mesh's morph frames - one per animation in the source GLB. Query a clip's range/name with b2dMeshClipStart, b2dMeshClipFrames, b2dMeshClipFPS and b2dMeshClipName.

Example

Example.bam
Local clips:Int = b2dMeshClipCount(mesh)