DI-Guy C++ SDK Reference  13.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
diguyMotionEngineSnapshot.h
Go to the documentation of this file.
1 #ifndef __diguyMotionEngineSnapshot_H
2 #define __diguyMotionEngineSnapshot_H
3 #include <diguy_vector_classes.h>
4 
6 struct BDI_DECLSPEC_diguy diguyMotionEngineSnapshot
7 {
8 
9  diguyMotionEngineSnapshot() : m_current_action_name(NULL),
10  m_arc_name(NULL),
11  m_arc_next_name(NULL),
12  m_is_transitioning(0),
13  m_tstart(0.0f),
14  m_tin(0.0f),
15  m_tout(0.0f),
16  m_progress(0.0f),
17  m_arc_t(0.0f),
18  m_blend_state(0),
19  m_mid_point(0.0f),
20  m_aim_axis_0(0.0f),
21  m_aim_axis_1(0.0f),
22  m_aim_amount(0.0f),
23  m_reps(1)
24  {
25  ;
26  }
27  // these aren't owned by the structure make sure swig can't leak or memory thrash these
28 #ifdef SWIG
29  %feature("immutable");
30 #endif
31 
32  const char * m_current_action_name;
33 
35  const char * m_desired_action_name;
36 
38  const char * m_arc_name;
39 
41  const char * m_arc_next_name;
42 #ifdef SWIG
43  %feature("immutable","");
44 #endif
45 
48 
51 
54 
56  float m_tstart;
57 
59  float m_tin;
60 
62  float m_tout;
63 
65  float m_progress;
66 
67  float m_arc_t;
68 
71  float m_mid_point;
72 
73  int m_reps;
74 
75  // aim data
76  float m_aim_amount;
77  float m_aim_axis_0;
78  float m_aim_axis_1;
80 
81  // only needed for animation blend tree locomotions animations.
85 
86 };
87 
88 #endif