cocos2d-x  3.1rc0
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

spSkin (const char *name)
void  (spSkin *self)
void  (spSkin *self, int slotIndex, const char *name, spAttachment *attachment)
spAttachment (const spSkin *self, int slotIndex, const char *name)
const char *  (const spSkin *self, int slotIndex, int attachmentIndex)
void  (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

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.