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

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

| 函数

Skeleton.h 文件参考

#include

#include

#include

##
struct spSkeleton
## 函数
spSkeleton spSkeleton_create (spSkeletonData data)
void spSkeleton_dispose (spSkeleton self)
void spSkeleton_updateWorldTransform (const spSkeleton self)
void spSkeleton_setToSetupPose (const spSkeleton self)
void spSkeleton_setBonesToSetupPose (const spSkeleton self)
void spSkeleton_setSlotsToSetupPose (const spSkeleton self)
spBone spSkeleton_findBone (const spSkeleton self, const char boneName)
int spSkeleton_findBoneIndex (const spSkeleton self, const char boneName)
spSlot spSkeleton_findSlot (const spSkeleton self, const char slotName)
int spSkeleton_findSlotIndex (const spSkeleton self, const char slotName)
void spSkeleton_setSkin (spSkeleton self, spSkin skin)
int spSkeleton_setSkinByName (spSkeleton self, const char skinName)
spAttachment spSkeleton_getAttachmentForSlotName (const spSkeleton self, const char slotName, const char attachmentName)
spAttachment spSkeleton_getAttachmentForSlotIndex (const spSkeleton self, int slotIndex, const char attachmentName)
int spSkeleton_setAttachment (spSkeleton self, const char slotName, const char attachmentName)
void spSkeleton_update (spSkeleton self, float deltaTime)

函数说明

spSkeleton spSkeleton_create ( spSkeletonData data)

void spSkeleton_dispose ( spSkeleton * self)

spBone spSkeleton_findBone ( const spSkeleton self,
const char * boneName
)

int spSkeleton_findBoneIndex ( const spSkeleton self,
const char boneName
)

spSlot spSkeleton_findSlot ( const spSkeleton self,
const char * slotName
)

int spSkeleton_findSlotIndex ( const spSkeleton self,
const char slotName
)

spAttachment spSkeleton_getAttachmentForSlotIndex ( const spSkeleton self,
int slotIndex,
const char * attachmentName
)

spAttachment spSkeleton_getAttachmentForSlotName ( const spSkeleton self,
const char slotName,
const char attachmentName
)

int spSkeleton_setAttachment ( spSkeleton self,
const char slotName,
const char * attachmentName
)

void spSkeleton_setBonesToSetupPose ( const spSkeleton * self)

void spSkeleton_setSkin ( spSkeleton self,
spSkin skin
)

int spSkeleton_setSkinByName ( spSkeleton self,
const char skinName
)

void spSkeleton_setSlotsToSetupPose ( const spSkeleton * self)

void spSkeleton_setToSetupPose ( const spSkeleton * self)

void spSkeleton_update ( spSkeleton * self,
float deltaTime
)

void spSkeleton_updateWorldTransform ( const spSkeleton * self)