-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathFrameData.ts
78 lines (73 loc) · 1.46 KB
/
FrameData.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/**
* FrameData
*/
export class FrameData {
index: number;
lowflag: number;
highflag: number;
priority: number;
cellIndex: number;
opacity: number;
localopacity: number;
masklimen: number;
positionX: number;
positionY: number;
pivotX: number;
pivotY: number;
rotationX: number;
rotationY: number;
rotationZ: number;
scaleX: number;
scaleY: number;
localscaleX: number;
localscaleY: number;
size_X: number;
size_Y: number;
uv_move_X: number;
uv_move_Y: number;
uv_rotation: number;
uv_scale_X: number;
uv_scale_Y: number;
boundingRadius: number;
instanceValue_curKeyframe: number;
instanceValue_endFrame: number;
instanceValue_startFrame: number;
instanceValue_loopNum: number;
instanceValue_speed: number;
instanceValue_loopflag: number;
effectValue_curKeyframe: number;
effectValue_startTime: number;
effectValue_speed: number;
effectValue_loopflag: number;
/// Add visiblity
f_hide: boolean;
/// Add flip
f_flipH: boolean;
f_flipV: boolean;
/// Add mesh
f_mesh: boolean;
/// Add vert data
i_transformVerts: number;
u00: number;
v00: number;
u01: number;
v01: number;
u10: number;
v10: number;
u11: number;
v11: number;
//
useColorMatrix: boolean;
colorBlendType: number;
colorRate: number;
colorArgb32: number;
//
meshIsBind: number;
meshNum: number;
meshDataPoint: Float32Array;
//
flag1: number;
flag2: number;
partsColorARGB: number;
tint: number;
}