1 #ifndef __bind_ANIMATION__
2 #define __bind_ANIMATION__
4 #include "package_SpriteStudio.h"
5 #include "ssplayer_animedecode.h"
7 #include <boost/python.hpp>
8 #include <boost/python/numeric.hpp>
17 return "Animation init";
32 BIND_RETURN_PROPEX(
int , index );
34 BIND_RETURN_PROPEX_ARRAY(
float , vertices , 5 , 3 );
35 BIND_RETURN_PROPEX_ARRAY(
float , colors, 4, 4);
36 BIND_RETURN_PROPEX_ARRAY(
float , uvs , 5, 2);
37 BIND_RETURN_PROPEX_ARRAY(
float , matrix,4,4 );
38 BIND_RETURN_PROPEX(
SsVector3 , position );
39 BIND_RETURN_PROPEX(
SsVector3 , rotation );
41 BIND_RETURN_PROPEX(
float , alpha );
42 BIND_RETURN_PROPEX(
int , prio );
43 BIND_RETURN_PROPEX(
bool , hFlip );
44 BIND_RETURN_PROPEX(
bool , vFlip );
46 BIND_RETURN_PROPEX(
bool , hide );
47 BIND_RETURN_PROPEX(
SsVector2 , pivotOffset );
51 BIND_RETURN_PROPEX(
bool , imageFlipH );
52 BIND_RETURN_PROPEX(
bool , imageFlipV );
53 BIND_RETURN_PROPEX(
SsVector2 , uvTranslate );
55 BIND_RETURN_PROPEX(
float , uvRotation );
56 BIND_RETURN_PROPEX(
SsVector2 , uvScale );
58 BIND_RETURN_PROPEX(
float , boundingRadius );
59 BIND_RETURN_PROPEX(
bool , noCells );
60 BIND_RETURN_PROPEX(
bool , is_color_blend );
61 BIND_RETURN_PROPEX(
bool , is_vertex_transform );
63 BIND_RETURN_PROPEX(
int , alphaBlendType );
69 bool isInstance() {
return this->bind_inst->refAnime != 0; }