b2dMeshFrameCount

Total number of morph animation frames in a loaded mesh.

2D Overlay

Parameters & Returns

Parameters

handle Int

Returns

Int

Quick Summary

Total number of morph animation frames in a loaded mesh.

Technical Exegesis...

Returns the total morph-keyframe count across all clips (1 for a static mesh). Individual animation clips index into this frame range - see b2dMeshClipStart / b2dMeshClipFrames. Used with b2dMeshAnimate to blend between frames.

Example

Example.bam
Local frames:Int = b2dMeshFrameCount(mesh)