b2dMeshClipName

Name of an animation clip (from the source GLB).

2D Overlay

Parameters & Returns

Parameters

handle Int
clip Int

Returns

String

Quick Summary

Name of an animation clip (from the source GLB).

Technical Exegesis...

Returns the name of clip (0..b2dMeshClipCount-1), as authored in the source model (e.g. "walk", "idle", "attack"). Handy for a clip picker or an on-screen label. Returns an empty string for an invalid handle/clip.

Example

Example.bam
b2dDrawText(b2dMeshClipName(mesh, clip), 20, 20, False, font)