b2dMeshClipStart

First morph-frame index of an animation clip.

2D Overlay

Parameters & Returns

Parameters

handle Int
clip Int

Returns

Int

Quick Summary

First morph-frame index of an animation clip.

Technical Exegesis...

Returns the starting frame (into the mesh's morph frames) of clip (0..b2dMeshClipCount-1). Add your looping offset within the clip to this to get the absolute frame indices to pass to b2dMeshAnimate.

Example

Example.bam
Local start:Int = b2dMeshClipStart(mesh, clip)