cocos2d-x 3.0 |
)
- 文件列表 - 文件成员
全部) 类) 命名空间) 文件) 函数) 变量) 类型定义) 枚举) 枚举值) 属性) 友元) 宏定义) 组) 页)
RegionAttachment.h 文件参考
#include
#include
#include
## 类 | |
struct | spRegionAttachment |
## 枚举 | |
enum | spVertexIndex { VERTEX_X1 = 0, VERTEX_Y1, VERTEX_X2, VERTEX_Y2, VERTEX_X3, VERTEX_Y3, VERTEX_X4, VERTEX_Y4 } |
## 函数 | |
spRegionAttachment | spRegionAttachment_create (const char name) |
void | spRegionAttachment_setUVs (spRegionAttachment self, float u, float v, float u2, float v2, introtate) |
void | spRegionAttachment_updateOffset (spRegionAttachment self) |
void | spRegionAttachment_computeWorldVertices (spRegionAttachment self, float x, float y, spBone bone, float *vertices) |
枚举类型说明
enum spVertexIndex |
枚举值 | |
---|---|
VERTEX_X1 | |
VERTEX_Y1 | |
VERTEX_X2 | |
VERTEX_Y2 | |
VERTEX_X3 | |
VERTEX_Y3 | |
VERTEX_X4 | |
VERTEX_Y4 |
函数说明
void spRegionAttachment_computeWorldVertices | ( | spRegionAttachment | self, |
float | x, | ||
float | y, | ||
spBone | bone, | ||
float * | vertices | ||
) |
spRegionAttachment spRegionAttachment_create | ( | const char | name | ) |
void spRegionAttachment_setUVs | ( | spRegionAttachment * | self, |
float | u, | ||
float | v, | ||
float | u2, | ||
float | v2, | ||
introtate | |||
) |
void spRegionAttachment_updateOffset | ( | spRegionAttachment * | self | ) |
- cocos
- editor-support
- spine
- RegionAttachment.h
- 生成于 2014年 五月 29日 星期四 09:41:42 , 为 cocos2d-x使用 1.8.6