cocos2d-x 3.0
- 首页 - 相关页面 - 模块 - 命名空间 - - 文件 -
类 - 图1 类 - 图2)
- 文件列表 - 文件成员

全部)) 命名空间) 文件) 函数) 变量) 类型定义) 枚举) 枚举值) 属性) 友元) 宏定义)))

| 函数

Skin.h 文件参考

#include

##
struct spSkin
## 函数
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)
如果之前的皮肤加载了附件在将他添加到新的皮肤中来. 更多…

函数说明

void spSkin_addAttachment ( spSkin self,
int slotIndex,
const char name,
spAttachment * attachment
)

void spSkin_attachAll ( const spSkin self,
struct spSkeleton skeleton,
const spSkin * oldspSkin
)

如果之前的皮肤加载了附件在将他添加到新的皮肤中来.

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
)