Atoms Crowd  7.0.0
AnimationStateClip.impl.h
1 // ===========================================================================
2 // Copyright (c) 2015 Toolchefs Ltd. All rights reserved.
3 //
4 // Use of this software is subject to the terms of the Toolchefs license
5 // agreement provided at the time of installation or download, or which
6 // otherwise accompanies this software in either electronic or hard copy form.
7 // ===========================================================================
8 
9 namespace Atoms
10 {
11  void AnimationStateClip::setClipName(const std::string& name)
12  {
13  m_clipName = name;
14  }
15 
16  const std::string& AnimationStateClip::clipName() const
17  {
18  return m_clipName;
19  }
20 
21  void AnimationStateClip::setTagName(const std::string& name)
22  {
23  m_tagName = name;
24  }
25 
26  const std::string& AnimationStateClip::tagName() const
27  {
28  return m_tagName;
29  }
30 
31  unsigned int AnimationStateClip::motionType() const
32  {
33  return m_motionType;
34  }
35 
36  void AnimationStateClip::setMotionType(unsigned int mType)
37  {
38  m_motionType = mType;
39  }
40 
41  unsigned int AnimationStateClip::mergeType() const
42  {
43  return m_mergeType;
44  }
45 
46  void AnimationStateClip::setMergeType(unsigned int mType)
47  {
48  m_mergeType = mType;
49  }
50 
52  {
53  return m_angle;
54  }
55 
56  void AnimationStateClip::setAngle(double value)
57  {
58  m_angle = value;
59  }
60 
62  {
63  return m_blendAngle;
64  }
65 
67  {
68  m_blendAngle = value;
69  }
70 
73  {
74  return m_synced;
75  }
76 
78  void AnimationStateClip::setSynced(const bool synced)
79  {
80  m_synced = synced;
81  }
82 
85  {
86  return m_useClipDirection;
87  }
88 
90  void AnimationStateClip::setUseClipDirection(const bool useClipDirection)
91  {
92  m_useClipDirection = useClipDirection;
93  }
94 
97  {
98  return m_maxTurnAngle;
99  }
100 
102  void AnimationStateClip::setMaxTurnAngle(const double maxTurnAngle)
103  {
104  m_maxTurnAngle = maxTurnAngle;
105  }
106 
109  {
110  return m_blendFrames;
111  }
112 
114  void AnimationStateClip::setBlendFrames(const int blendFrames)
115  {
116  m_blendFrames = blendFrames;
117  }
118 
121  {
122  return m_randomWeight;
123  }
124 
126  void AnimationStateClip::setRandomWeight(const double randomWeight)
127  {
128  m_randomWeight = randomWeight;
129  }
130 }
void setTagName(const std::string &name)
Sets tag name.
Definition: AnimationStateClip.impl.h:21
void setMaxTurnAngle(const double maxTurnAngle)
Set max turn angle.
Definition: AnimationStateClip.impl.h:102
const std::string & tagName() const
Gets tag name.
Definition: AnimationStateClip.impl.h:26
bool synced() const
Get synced state.
Definition: AnimationStateClip.impl.h:72
void setBlendFrames(const int blendFrames)
Set clip blend frames.
Definition: AnimationStateClip.impl.h:114
unsigned int motionType() const
Gets motion type.
Definition: AnimationStateClip.impl.h:31
void setAngle(double value)
Sets turning angle.
Definition: AnimationStateClip.impl.h:56
double blendAngle() const
Gets blend angle.
Definition: AnimationStateClip.impl.h:61
void setMotionType(unsigned int mType)
Sets motion type.
Definition: AnimationStateClip.impl.h:36
double maxTurnAngle() const
Get max turn angle.
Definition: AnimationStateClip.impl.h:96
void setMergeType(unsigned int mType)
Sets merge type.
Definition: AnimationStateClip.impl.h:46
double angle() const
Gets turning angle.
Definition: AnimationStateClip.impl.h:51
void setClipName(const std::string &name)
Sets clip name.
Definition: AnimationStateClip.impl.h:11
unsigned int mergeType() const
Gets merge type.
Definition: AnimationStateClip.impl.h:41
double randomWeight() const
Get random weight.
Definition: AnimationStateClip.impl.h:120
int blendFrames() const
Get clip blend frames.
Definition: AnimationStateClip.impl.h:108
void setUseClipDirection(const bool useClipDirection)
Set use clip direction state.
Definition: AnimationStateClip.impl.h:90
void setRandomWeight(const double randomWeight)
Set clip random weight.
Definition: AnimationStateClip.impl.h:126
void setSynced(const bool synced)
Set synced state.
Definition: AnimationStateClip.impl.h:78
const std::string & clipName() const
Gets clip name.
Definition: AnimationStateClip.impl.h:16
bool useClipDirection() const
Get use clip direction state.
Definition: AnimationStateClip.impl.h:84
void setBlendAngle(double value)
Sets blend angle.
Definition: AnimationStateClip.impl.h:66
Atoms namespace.
Definition: Agent.h:29