cocos2d-x  3.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Skin.h File Reference
#include <spine/Attachment.h>

Classes

struct  spSkin
 

Functions

spSkinspSkin_create (const char *name)
 
void spSkin_dispose (spSkin *self)
 
void spSkin_addAttachment (spSkin *self, int slotIndex, const char *name, spAttachment *attachment)
 
spAttachmentspSkin_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...
 

Function Documentation

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 
)