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

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

| 枚举 | 函数

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)