cocos2d-x  3.0rc1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RegionAttachment.h File Reference
#include <spine/Attachment.h>
#include <spine/Atlas.h>
#include <spine/Slot.h>

Classes

struct  spRegionAttachment
 

Enumerations

enum  spVertexIndex {
  VERTEX_X1 = 0, VERTEX_Y1, VERTEX_X2, VERTEX_Y2,
  VERTEX_X3, VERTEX_Y3, VERTEX_X4, VERTEX_Y4
}
 

Functions

spRegionAttachment (const char *name)
void  (spRegionAttachment *self, float u, float v, float u2, float v2, introtate)
void  (spRegionAttachment *self)
void  (spRegionAttachment *self, float x, float y, spBone *bone, float *vertices)
var  ( var self, var x, var y, var bone, var vertices)
local  ( local self, local x, local y, local bone, local vertices)

Enumeration Type Documentation

Enumerator
VERTEX_X1 
VERTEX_Y1 
VERTEX_X2 
VERTEX_Y2 
VERTEX_X3 
VERTEX_Y3 
VERTEX_X4 
VERTEX_Y4 
Enumerator
VERTEX_X1 
VERTEX_Y1 
VERTEX_X2 
VERTEX_Y2 
VERTEX_X3 
VERTEX_Y3 
VERTEX_X4 
VERTEX_Y4 
Enumerator
VERTEX_X1 
VERTEX_Y1 
VERTEX_X2 
VERTEX_Y2 
VERTEX_X3 
VERTEX_Y3 
VERTEX_X4 
VERTEX_Y4 

Function Documentation

spRegionAttachment*
spRegionAttachment_create
( const char *  name)
var spRegionAttachment_create ( var  name)
local spRegionAttachment_create ( local  name)
void spRegionAttachment_setUVs ( spRegionAttachment self,
float  u,
float  v,
float  u2,
float  v2,
introtate   
)
var spRegionAttachment_setUVs ( var  self,
var  u,
var  v,
var  u2,
var  v2,
var   
)
local spRegionAttachment_setUVs ( local  self,
local  u,
local  v,
local  u2,
local  v2,
local   
)
void
spRegionAttachment_updateOffset
( spRegionAttachment self)
var spRegionAttachment_updateOffset ( var  self)
local
spRegionAttachment_updateOffset
( local  self)
void
spRegionAttachment_computeWorldVertices
( spRegionAttachment self,
float  x,
float  y,
spBone bone,
float *  vertices 
)
var
spRegionAttachment_computeWorldVertices
( var  self,
var  x,
var  y,
var  bone,
var  vertices 
)
local
spRegionAttachment_computeWorldVertices
( local  self,
local  x,
local  y,
local  bone,
local  vertices 
)