1、Timeline
struct Timeline { const void* const vtable; };
2、BoneData:骨骼数据
struct BoneData { const char* const name; BoneData* const parent; float length; float x, y; float rotation; float scaleX, scaleY; };
3、SlotData:槽数据
typedef struct { const char* const name; const BoneData* const boneData; const char* const attachmentName; float r, g, b, a; } SlotData;
4、Skin:皮肤数据
typedef struct { const char* const name; } Skin;
5、Animation:动画数据
typedef struct { const char* const name; float duration; int timelineCount; Timeline** timelines; } Animation;
时间: 2024-12-07 23:36:18