OPTPiX SpriteStudio SDK
Main Page
Related Pages
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Enumerations
Enumerator
Pages
ssplayer_PartState.h
1
#ifndef __SSPLAYER_PARTSTATE__
2
#define __SSPLAYER_PARTSTATE__
3
4
//#include "../loader/ssloader.h"
5
//#include "../Helper/ssHelper.h"
6
7
8
class
SsAnimeDecoder
;
10
struct
SsPartState
11
{
12
int
index;
13
14
float
vertices
[3 * 5];
15
float
colors
[4 * 4];
16
float
uvs
[2 * 5];
17
float
matrix
[4 * 4];
18
19
20
SsPartState
* parent;
21
float
*
inheritRates
;
22
23
SsVector3
position
;
24
SsVector3
rotation
;
25
SsVector2
scale
;
26
float
alpha
;
27
int
prio
;
28
bool
hFlip
;
29
bool
vFlip
;
30
bool
hide
;
31
SsVector2
pivotOffset
;
32
SsVector2
anchor
;
33
SsVector2
size
;
34
bool
imageFlipH;
35
bool
imageFlipV
;
36
SsVector2
uvTranslate
;
37
float
uvRotation
;
38
SsVector2
uvScale
;
39
float
boundingRadius
;
40
41
SsCellValue
cellValue
;
42
SsColorAnime
colorValue
;
43
SsVertexAnime
vertexValue
;
44
45
bool
noCells;
46
bool
is_color_blend
;
47
bool
is_vertex_transform
;
48
49
SsInstanceAttr
instanceValue
;
50
51
52
SsBlendType::_enum
alphaBlendType;
53
54
SsAnimeDecoder
* refAnime;
55
56
57
SsPartState
();
58
59
virtual
~
SsPartState
();
60
void
destroy();
61
void
init();
62
bool
inherits_(
SsAttributeKind::_enum
kind)
const
{
return
inheritRates
[(int)kind] != 0.f;}
63
64
};
65
66
67
68
#endif
Common
Animator
ssplayer_PartState.h
Generated on Mon Jun 16 2014 17:55:48 for OPTPiX SpriteStudio SDK by
1.8.4