cocos2d-x
3.3
|
#include <spine/Attachment.h>
Classes | |
struct | spSkin |
Functions | |
spSkin * | spSkin_create (const char *name) |
void | spSkin_dispose (spSkin *self) |
void | spSkin_addAttachment (spSkin *self, int slotIndex, const char *name, spAttachment *attachment) |
spAttachment * | spSkin_getAttachment (const spSkin *self, int slotIndex, const char *name) |
const char * | spSkin_getAttachmentName (const spSkin *self, int slotIndex, int attachmentIndex) |
void | spSkin_attachAll (const spSkin *self, struct spSkeleton *skeleton, const spSkin *oldspSkin) |
Attach each attachment in this skin if the corresponding attachment in oldSkin is currently attached. More... | |
void spSkin_addAttachment | ( | spSkin * | self, |
int | slotIndex, | ||
const char * | name, | ||
spAttachment * | attachment | ||
) |
void spSkin_attachAll | ( | const spSkin * | self, |
struct spSkeleton * | skeleton, | ||
const spSkin * | oldspSkin | ||
) |
Attach each attachment in this skin if the corresponding attachment in oldSkin is currently attached.
spSkin* spSkin_create | ( | const char * | name | ) |
void spSkin_dispose | ( | spSkin * | self | ) |
spAttachment* spSkin_getAttachment | ( | const spSkin * | self, |
int | slotIndex, | ||
const char * | name | ||
) |
const char* spSkin_getAttachmentName | ( | const spSkin * | self, |
int | slotIndex, | ||
int | attachmentIndex | ||
) |