1 | <html> |
---|
2 | <head> |
---|
3 | <title>Ogre::AnimationStateSet class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
---|
4 | <link type="text/css" rel="stylesheet" href="style.css"> |
---|
5 | </head> |
---|
6 | |
---|
7 | <body> |
---|
8 | <!-- Generated by Doxygen 1.3.6 --> |
---|
9 | <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div> |
---|
10 | <h1>Ogre::AnimationStateSet Class Reference</h1>Class encapsulating a set of <a class="el" href="classOgre_1_1AnimationState.html">AnimationState</a> objects. |
---|
11 | <a href="#_details">More...</a> |
---|
12 | <p> |
---|
13 | <code>#include <<a class="el" href="OgreAnimationState_8h-source.html">OgreAnimationState.h</a>></code> |
---|
14 | <p> |
---|
15 | <a href="classOgre_1_1AnimationStateSet-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> |
---|
16 | <tr><td></td></tr> |
---|
17 | <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> |
---|
18 | <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationStateSet.html#Ogre_1_1AnimationStateSeta0">AnimationStateSet</a> ()</td></tr> |
---|
19 | |
---|
20 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a blank animation state set. <a href="#Ogre_1_1AnimationStateSeta0"></a><br><br></td></tr> |
---|
21 | <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationStateSet.html#Ogre_1_1AnimationStateSeta1">AnimationStateSet</a> (const <a class="el" href="classOgre_1_1AnimationStateSet.html">AnimationStateSet</a> &rhs)</td></tr> |
---|
22 | |
---|
23 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Create an animation set by copying the contents of another. <a href="#Ogre_1_1AnimationStateSeta1"></a><br><br></td></tr> |
---|
24 | <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationStateSet.html#Ogre_1_1AnimationStateSeta2">~AnimationStateSet</a> ()</td></tr> |
---|
25 | |
---|
26 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1AnimationState.html">AnimationState</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationStateSet.html#Ogre_1_1AnimationStateSeta3">createAnimationState</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &animName, <a class="el" href="namespaceOgre.html#a465">Real</a> timePos, <a class="el" href="namespaceOgre.html#a465">Real</a> length, <a class="el" href="namespaceOgre.html#a465">Real</a> weight=1.0, bool enabled=false)</td></tr> |
---|
27 | |
---|
28 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a new <a class="el" href="classOgre_1_1AnimationState.html">AnimationState</a> instance. <a href="#Ogre_1_1AnimationStateSeta3"></a><br><br></td></tr> |
---|
29 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1AnimationState.html">AnimationState</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationStateSet.html#Ogre_1_1AnimationStateSeta4">getAnimationState</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &name) const </td></tr> |
---|
30 | |
---|
31 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get an animation state by the name of the animation. <a href="#Ogre_1_1AnimationStateSeta4"></a><br><br></td></tr> |
---|
32 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationStateSet.html#Ogre_1_1AnimationStateSeta5">hasAnimationState</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &name) const </td></tr> |
---|
33 | |
---|
34 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Tests if state for the named animation is present. <a href="#Ogre_1_1AnimationStateSeta5"></a><br><br></td></tr> |
---|
35 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationStateSet.html#Ogre_1_1AnimationStateSeta6">removeAnimationState</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &name)</td></tr> |
---|
36 | |
---|
37 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Remove animation state with the given name. <a href="#Ogre_1_1AnimationStateSeta6"></a><br><br></td></tr> |
---|
38 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationStateSet.html#Ogre_1_1AnimationStateSeta7">removeAllAnimationStates</a> (void)</td></tr> |
---|
39 | |
---|
40 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Remove all animation states. <a href="#Ogre_1_1AnimationStateSeta7"></a><br><br></td></tr> |
---|
41 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1MapIterator.html">AnimationStateIterator</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationStateSet.html#Ogre_1_1AnimationStateSeta8">getAnimationStateIterator</a> (void)</td></tr> |
---|
42 | |
---|
43 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get an iterator over all the animation states in this set. <a href="#Ogre_1_1AnimationStateSeta8"></a><br><br></td></tr> |
---|
44 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1ConstMapIterator.html">ConstAnimationStateIterator</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationStateSet.html#Ogre_1_1AnimationStateSeta9">getAnimationStateIterator</a> (void) const </td></tr> |
---|
45 | |
---|
46 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get an iterator over all the animation states in this set. <a href="#Ogre_1_1AnimationStateSeta9"></a><br><br></td></tr> |
---|
47 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationStateSet.html#Ogre_1_1AnimationStateSeta10">copyMatchingState</a> (<a class="el" href="classOgre_1_1AnimationStateSet.html">AnimationStateSet</a> *target) const </td></tr> |
---|
48 | |
---|
49 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Copy the state of any matching animation states from this to another. <a href="#Ogre_1_1AnimationStateSeta10"></a><br><br></td></tr> |
---|
50 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationStateSet.html#Ogre_1_1AnimationStateSeta11">_notifyDirty</a> (void)</td></tr> |
---|
51 | |
---|
52 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the dirty flag and dirty frame number on this state set. <a href="#Ogre_1_1AnimationStateSeta11"></a><br><br></td></tr> |
---|
53 | <tr><td class="memItemLeft" nowrap align=right valign=top>unsigned long </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationStateSet.html#Ogre_1_1AnimationStateSeta12">getDirtyFrameNumber</a> (void) const </td></tr> |
---|
54 | |
---|
55 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the latest animation state been altered frame number. <a href="#Ogre_1_1AnimationStateSeta12"></a><br><br></td></tr> |
---|
56 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationStateSet.html#Ogre_1_1AnimationStateSeta13">_notifyAnimationStateEnabled</a> (<a class="el" href="classOgre_1_1AnimationState.html">AnimationState</a> *target, bool enabled)</td></tr> |
---|
57 | |
---|
58 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Internal method respond to enable/disable an animation state. <a href="#Ogre_1_1AnimationStateSeta13"></a><br><br></td></tr> |
---|
59 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationStateSet.html#Ogre_1_1AnimationStateSeta14">hasEnabledAnimationState</a> (void) const </td></tr> |
---|
60 | |
---|
61 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Tests if exists enabled animation state in this set. <a href="#Ogre_1_1AnimationStateSeta14"></a><br><br></td></tr> |
---|
62 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1ConstVectorIterator.html">ConstEnabledAnimationStateIterator</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationStateSet.html#Ogre_1_1AnimationStateSeta15">getEnabledAnimationStateIterator</a> (void) const </td></tr> |
---|
63 | |
---|
64 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get an iterator over all the enabled animation states in this set. <a href="#Ogre_1_1AnimationStateSeta15"></a><br><br></td></tr> |
---|
65 | <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> |
---|
66 | <tr><td class="memItemLeft" nowrap align=right valign=top>unsigned long </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationStateSet.html#Ogre_1_1AnimationStateSetp0">mDirtyFrameNumber</a></td></tr> |
---|
67 | |
---|
68 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a1">AnimationStateMap</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationStateSet.html#Ogre_1_1AnimationStateSetp1">mAnimationStates</a></td></tr> |
---|
69 | |
---|
70 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a4">EnabledAnimationStateList</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1AnimationStateSet.html#Ogre_1_1AnimationStateSetp2">mEnabledAnimationStates</a></td></tr> |
---|
71 | |
---|
72 | </table> |
---|
73 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
74 | Class encapsulating a set of <a class="el" href="classOgre_1_1AnimationState.html">AnimationState</a> objects. |
---|
75 | <p> |
---|
76 | |
---|
77 | <p> |
---|
78 | |
---|
79 | <p> |
---|
80 | Definition at line <a class="el" href="OgreAnimationState_8h-source.html#l00123">123</a> of file <a class="el" href="OgreAnimationState_8h-source.html">OgreAnimationState.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> |
---|
81 | <a class="anchor" name="Ogre_1_1AnimationStateSeta0" doxytag="Ogre::AnimationStateSet::AnimationStateSet" ></a><p> |
---|
82 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
83 | <tr> |
---|
84 | <td class="mdRow"> |
---|
85 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
86 | <tr> |
---|
87 | <td class="md" nowrap valign="top"> Ogre::AnimationStateSet::AnimationStateSet </td> |
---|
88 | <td class="md" valign="top">( </td> |
---|
89 | <td class="mdname1" valign="top" nowrap> </td> |
---|
90 | <td class="md" valign="top"> ) </td> |
---|
91 | <td class="md" nowrap></td> |
---|
92 | </tr> |
---|
93 | |
---|
94 | </table> |
---|
95 | </td> |
---|
96 | </tr> |
---|
97 | </table> |
---|
98 | <table cellspacing=5 cellpadding=0 border=0> |
---|
99 | <tr> |
---|
100 | <td> |
---|
101 | |
---|
102 | </td> |
---|
103 | <td> |
---|
104 | |
---|
105 | <p> |
---|
106 | Create a blank animation state set. |
---|
107 | <p> |
---|
108 | </td> |
---|
109 | </tr> |
---|
110 | </table> |
---|
111 | <a class="anchor" name="Ogre_1_1AnimationStateSeta1" doxytag="Ogre::AnimationStateSet::AnimationStateSet" ></a><p> |
---|
112 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
113 | <tr> |
---|
114 | <td class="mdRow"> |
---|
115 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
116 | <tr> |
---|
117 | <td class="md" nowrap valign="top"> Ogre::AnimationStateSet::AnimationStateSet </td> |
---|
118 | <td class="md" valign="top">( </td> |
---|
119 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1AnimationStateSet.html">AnimationStateSet</a> & </td> |
---|
120 | <td class="mdname1" valign="top" nowrap> <em>rhs</em> </td> |
---|
121 | <td class="md" valign="top"> ) </td> |
---|
122 | <td class="md" nowrap></td> |
---|
123 | </tr> |
---|
124 | |
---|
125 | </table> |
---|
126 | </td> |
---|
127 | </tr> |
---|
128 | </table> |
---|
129 | <table cellspacing=5 cellpadding=0 border=0> |
---|
130 | <tr> |
---|
131 | <td> |
---|
132 | |
---|
133 | </td> |
---|
134 | <td> |
---|
135 | |
---|
136 | <p> |
---|
137 | Create an animation set by copying the contents of another. |
---|
138 | <p> |
---|
139 | </td> |
---|
140 | </tr> |
---|
141 | </table> |
---|
142 | <a class="anchor" name="Ogre_1_1AnimationStateSeta2" doxytag="Ogre::AnimationStateSet::~AnimationStateSet" ></a><p> |
---|
143 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
144 | <tr> |
---|
145 | <td class="mdRow"> |
---|
146 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
147 | <tr> |
---|
148 | <td class="md" nowrap valign="top"> Ogre::AnimationStateSet::~<a class="el" href="classOgre_1_1AnimationStateSet.html">AnimationStateSet</a> </td> |
---|
149 | <td class="md" valign="top">( </td> |
---|
150 | <td class="mdname1" valign="top" nowrap> </td> |
---|
151 | <td class="md" valign="top"> ) </td> |
---|
152 | <td class="md" nowrap></td> |
---|
153 | </tr> |
---|
154 | |
---|
155 | </table> |
---|
156 | </td> |
---|
157 | </tr> |
---|
158 | </table> |
---|
159 | <table cellspacing=5 cellpadding=0 border=0> |
---|
160 | <tr> |
---|
161 | <td> |
---|
162 | |
---|
163 | </td> |
---|
164 | <td> |
---|
165 | |
---|
166 | <p> |
---|
167 | </td> |
---|
168 | </tr> |
---|
169 | </table> |
---|
170 | <hr><h2>Member Function Documentation</h2> |
---|
171 | <a class="anchor" name="Ogre_1_1AnimationStateSeta13" doxytag="Ogre::AnimationStateSet::_notifyAnimationStateEnabled" ></a><p> |
---|
172 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
173 | <tr> |
---|
174 | <td class="mdRow"> |
---|
175 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
176 | <tr> |
---|
177 | <td class="md" nowrap valign="top"> void Ogre::AnimationStateSet::_notifyAnimationStateEnabled </td> |
---|
178 | <td class="md" valign="top">( </td> |
---|
179 | <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1AnimationState.html">AnimationState</a> * </td> |
---|
180 | <td class="mdname" nowrap> <em>target</em>, </td> |
---|
181 | </tr> |
---|
182 | <tr> |
---|
183 | <td class="md" nowrap align="right"></td> |
---|
184 | <td></td> |
---|
185 | <td class="md" nowrap>bool </td> |
---|
186 | <td class="mdname" nowrap> <em>enabled</em></td> |
---|
187 | </tr> |
---|
188 | <tr> |
---|
189 | <td></td> |
---|
190 | <td class="md">) </td> |
---|
191 | <td class="md" colspan="2"></td> |
---|
192 | </tr> |
---|
193 | |
---|
194 | </table> |
---|
195 | </td> |
---|
196 | </tr> |
---|
197 | </table> |
---|
198 | <table cellspacing=5 cellpadding=0 border=0> |
---|
199 | <tr> |
---|
200 | <td> |
---|
201 | |
---|
202 | </td> |
---|
203 | <td> |
---|
204 | |
---|
205 | <p> |
---|
206 | Internal method respond to enable/disable an animation state. |
---|
207 | <p> |
---|
208 | </td> |
---|
209 | </tr> |
---|
210 | </table> |
---|
211 | <a class="anchor" name="Ogre_1_1AnimationStateSeta11" doxytag="Ogre::AnimationStateSet::_notifyDirty" ></a><p> |
---|
212 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
213 | <tr> |
---|
214 | <td class="mdRow"> |
---|
215 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
216 | <tr> |
---|
217 | <td class="md" nowrap valign="top"> void Ogre::AnimationStateSet::_notifyDirty </td> |
---|
218 | <td class="md" valign="top">( </td> |
---|
219 | <td class="md" nowrap valign="top">void </td> |
---|
220 | <td class="mdname1" valign="top" nowrap> </td> |
---|
221 | <td class="md" valign="top"> ) </td> |
---|
222 | <td class="md" nowrap></td> |
---|
223 | </tr> |
---|
224 | |
---|
225 | </table> |
---|
226 | </td> |
---|
227 | </tr> |
---|
228 | </table> |
---|
229 | <table cellspacing=5 cellpadding=0 border=0> |
---|
230 | <tr> |
---|
231 | <td> |
---|
232 | |
---|
233 | </td> |
---|
234 | <td> |
---|
235 | |
---|
236 | <p> |
---|
237 | Set the dirty flag and dirty frame number on this state set. |
---|
238 | <p> |
---|
239 | </td> |
---|
240 | </tr> |
---|
241 | </table> |
---|
242 | <a class="anchor" name="Ogre_1_1AnimationStateSeta10" doxytag="Ogre::AnimationStateSet::copyMatchingState" ></a><p> |
---|
243 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
244 | <tr> |
---|
245 | <td class="mdRow"> |
---|
246 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
247 | <tr> |
---|
248 | <td class="md" nowrap valign="top"> void Ogre::AnimationStateSet::copyMatchingState </td> |
---|
249 | <td class="md" valign="top">( </td> |
---|
250 | <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1AnimationStateSet.html">AnimationStateSet</a> * </td> |
---|
251 | <td class="mdname1" valign="top" nowrap> <em>target</em> </td> |
---|
252 | <td class="md" valign="top"> ) </td> |
---|
253 | <td class="md" nowrap> const</td> |
---|
254 | </tr> |
---|
255 | |
---|
256 | </table> |
---|
257 | </td> |
---|
258 | </tr> |
---|
259 | </table> |
---|
260 | <table cellspacing=5 cellpadding=0 border=0> |
---|
261 | <tr> |
---|
262 | <td> |
---|
263 | |
---|
264 | </td> |
---|
265 | <td> |
---|
266 | |
---|
267 | <p> |
---|
268 | Copy the state of any matching animation states from this to another. |
---|
269 | <p> |
---|
270 | </td> |
---|
271 | </tr> |
---|
272 | </table> |
---|
273 | <a class="anchor" name="Ogre_1_1AnimationStateSeta3" doxytag="Ogre::AnimationStateSet::createAnimationState" ></a><p> |
---|
274 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
275 | <tr> |
---|
276 | <td class="mdRow"> |
---|
277 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
278 | <tr> |
---|
279 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1AnimationState.html">AnimationState</a>* Ogre::AnimationStateSet::createAnimationState </td> |
---|
280 | <td class="md" valign="top">( </td> |
---|
281 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
282 | <td class="mdname" nowrap> <em>animName</em>, </td> |
---|
283 | </tr> |
---|
284 | <tr> |
---|
285 | <td class="md" nowrap align="right"></td> |
---|
286 | <td></td> |
---|
287 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
288 | <td class="mdname" nowrap> <em>timePos</em>, </td> |
---|
289 | </tr> |
---|
290 | <tr> |
---|
291 | <td class="md" nowrap align="right"></td> |
---|
292 | <td></td> |
---|
293 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
294 | <td class="mdname" nowrap> <em>length</em>, </td> |
---|
295 | </tr> |
---|
296 | <tr> |
---|
297 | <td class="md" nowrap align="right"></td> |
---|
298 | <td></td> |
---|
299 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
300 | <td class="mdname" nowrap> <em>weight</em> = 1.0, </td> |
---|
301 | </tr> |
---|
302 | <tr> |
---|
303 | <td class="md" nowrap align="right"></td> |
---|
304 | <td></td> |
---|
305 | <td class="md" nowrap>bool </td> |
---|
306 | <td class="mdname" nowrap> <em>enabled</em> = false</td> |
---|
307 | </tr> |
---|
308 | <tr> |
---|
309 | <td></td> |
---|
310 | <td class="md">) </td> |
---|
311 | <td class="md" colspan="2"></td> |
---|
312 | </tr> |
---|
313 | |
---|
314 | </table> |
---|
315 | </td> |
---|
316 | </tr> |
---|
317 | </table> |
---|
318 | <table cellspacing=5 cellpadding=0 border=0> |
---|
319 | <tr> |
---|
320 | <td> |
---|
321 | |
---|
322 | </td> |
---|
323 | <td> |
---|
324 | |
---|
325 | <p> |
---|
326 | Create a new <a class="el" href="classOgre_1_1AnimationState.html">AnimationState</a> instance. |
---|
327 | <p> |
---|
328 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
329 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
330 | <tr><td valign=top><em>animName</em> </td><td>The name of the animation </td></tr> |
---|
331 | <tr><td valign=top><em>timePos</em> </td><td>Starting time position </td></tr> |
---|
332 | <tr><td valign=top><em>length</em> </td><td>Length of the animation to play </td></tr> |
---|
333 | <tr><td valign=top><em>weight</em> </td><td>Weight to apply the animation with </td></tr> |
---|
334 | <tr><td valign=top><em>enabled</em> </td><td>Whether the animation is enabled</td></tr> |
---|
335 | </table> |
---|
336 | </dl> |
---|
337 | </td> |
---|
338 | </tr> |
---|
339 | </table> |
---|
340 | <a class="anchor" name="Ogre_1_1AnimationStateSeta4" doxytag="Ogre::AnimationStateSet::getAnimationState" ></a><p> |
---|
341 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
342 | <tr> |
---|
343 | <td class="mdRow"> |
---|
344 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
345 | <tr> |
---|
346 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1AnimationState.html">AnimationState</a>* Ogre::AnimationStateSet::getAnimationState </td> |
---|
347 | <td class="md" valign="top">( </td> |
---|
348 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
349 | <td class="mdname1" valign="top" nowrap> <em>name</em> </td> |
---|
350 | <td class="md" valign="top"> ) </td> |
---|
351 | <td class="md" nowrap> const</td> |
---|
352 | </tr> |
---|
353 | |
---|
354 | </table> |
---|
355 | </td> |
---|
356 | </tr> |
---|
357 | </table> |
---|
358 | <table cellspacing=5 cellpadding=0 border=0> |
---|
359 | <tr> |
---|
360 | <td> |
---|
361 | |
---|
362 | </td> |
---|
363 | <td> |
---|
364 | |
---|
365 | <p> |
---|
366 | Get an animation state by the name of the animation. |
---|
367 | <p> |
---|
368 | </td> |
---|
369 | </tr> |
---|
370 | </table> |
---|
371 | <a class="anchor" name="Ogre_1_1AnimationStateSeta9" doxytag="Ogre::AnimationStateSet::getAnimationStateIterator" ></a><p> |
---|
372 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
373 | <tr> |
---|
374 | <td class="mdRow"> |
---|
375 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
376 | <tr> |
---|
377 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ConstMapIterator.html">ConstAnimationStateIterator</a> Ogre::AnimationStateSet::getAnimationStateIterator </td> |
---|
378 | <td class="md" valign="top">( </td> |
---|
379 | <td class="md" nowrap valign="top">void </td> |
---|
380 | <td class="mdname1" valign="top" nowrap> </td> |
---|
381 | <td class="md" valign="top"> ) </td> |
---|
382 | <td class="md" nowrap> const</td> |
---|
383 | </tr> |
---|
384 | |
---|
385 | </table> |
---|
386 | </td> |
---|
387 | </tr> |
---|
388 | </table> |
---|
389 | <table cellspacing=5 cellpadding=0 border=0> |
---|
390 | <tr> |
---|
391 | <td> |
---|
392 | |
---|
393 | </td> |
---|
394 | <td> |
---|
395 | |
---|
396 | <p> |
---|
397 | Get an iterator over all the animation states in this set. |
---|
398 | <p> |
---|
399 | </td> |
---|
400 | </tr> |
---|
401 | </table> |
---|
402 | <a class="anchor" name="Ogre_1_1AnimationStateSeta8" doxytag="Ogre::AnimationStateSet::getAnimationStateIterator" ></a><p> |
---|
403 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
404 | <tr> |
---|
405 | <td class="mdRow"> |
---|
406 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
407 | <tr> |
---|
408 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1MapIterator.html">AnimationStateIterator</a> Ogre::AnimationStateSet::getAnimationStateIterator </td> |
---|
409 | <td class="md" valign="top">( </td> |
---|
410 | <td class="md" nowrap valign="top">void </td> |
---|
411 | <td class="mdname1" valign="top" nowrap> </td> |
---|
412 | <td class="md" valign="top"> ) </td> |
---|
413 | <td class="md" nowrap></td> |
---|
414 | </tr> |
---|
415 | |
---|
416 | </table> |
---|
417 | </td> |
---|
418 | </tr> |
---|
419 | </table> |
---|
420 | <table cellspacing=5 cellpadding=0 border=0> |
---|
421 | <tr> |
---|
422 | <td> |
---|
423 | |
---|
424 | </td> |
---|
425 | <td> |
---|
426 | |
---|
427 | <p> |
---|
428 | Get an iterator over all the animation states in this set. |
---|
429 | <p> |
---|
430 | </td> |
---|
431 | </tr> |
---|
432 | </table> |
---|
433 | <a class="anchor" name="Ogre_1_1AnimationStateSeta12" doxytag="Ogre::AnimationStateSet::getDirtyFrameNumber" ></a><p> |
---|
434 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
435 | <tr> |
---|
436 | <td class="mdRow"> |
---|
437 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
438 | <tr> |
---|
439 | <td class="md" nowrap valign="top"> unsigned long Ogre::AnimationStateSet::getDirtyFrameNumber </td> |
---|
440 | <td class="md" valign="top">( </td> |
---|
441 | <td class="md" nowrap valign="top">void </td> |
---|
442 | <td class="mdname1" valign="top" nowrap> </td> |
---|
443 | <td class="md" valign="top"> ) </td> |
---|
444 | <td class="md" nowrap> const</td> |
---|
445 | </tr> |
---|
446 | |
---|
447 | </table> |
---|
448 | </td> |
---|
449 | </tr> |
---|
450 | </table> |
---|
451 | <table cellspacing=5 cellpadding=0 border=0> |
---|
452 | <tr> |
---|
453 | <td> |
---|
454 | |
---|
455 | </td> |
---|
456 | <td> |
---|
457 | |
---|
458 | <p> |
---|
459 | Get the latest animation state been altered frame number. |
---|
460 | <p> |
---|
461 | |
---|
462 | <p> |
---|
463 | Definition at line <a class="el" href="OgreAnimationState_8h-source.html#l00160">160</a> of file <a class="el" href="OgreAnimationState_8h-source.html">OgreAnimationState.h</a>. </td> |
---|
464 | </tr> |
---|
465 | </table> |
---|
466 | <a class="anchor" name="Ogre_1_1AnimationStateSeta15" doxytag="Ogre::AnimationStateSet::getEnabledAnimationStateIterator" ></a><p> |
---|
467 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
468 | <tr> |
---|
469 | <td class="mdRow"> |
---|
470 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
471 | <tr> |
---|
472 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ConstVectorIterator.html">ConstEnabledAnimationStateIterator</a> Ogre::AnimationStateSet::getEnabledAnimationStateIterator </td> |
---|
473 | <td class="md" valign="top">( </td> |
---|
474 | <td class="md" nowrap valign="top">void </td> |
---|
475 | <td class="mdname1" valign="top" nowrap> </td> |
---|
476 | <td class="md" valign="top"> ) </td> |
---|
477 | <td class="md" nowrap> const</td> |
---|
478 | </tr> |
---|
479 | |
---|
480 | </table> |
---|
481 | </td> |
---|
482 | </tr> |
---|
483 | </table> |
---|
484 | <table cellspacing=5 cellpadding=0 border=0> |
---|
485 | <tr> |
---|
486 | <td> |
---|
487 | |
---|
488 | </td> |
---|
489 | <td> |
---|
490 | |
---|
491 | <p> |
---|
492 | Get an iterator over all the enabled animation states in this set. |
---|
493 | <p> |
---|
494 | </td> |
---|
495 | </tr> |
---|
496 | </table> |
---|
497 | <a class="anchor" name="Ogre_1_1AnimationStateSeta5" doxytag="Ogre::AnimationStateSet::hasAnimationState" ></a><p> |
---|
498 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
499 | <tr> |
---|
500 | <td class="mdRow"> |
---|
501 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
502 | <tr> |
---|
503 | <td class="md" nowrap valign="top"> bool Ogre::AnimationStateSet::hasAnimationState </td> |
---|
504 | <td class="md" valign="top">( </td> |
---|
505 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
506 | <td class="mdname1" valign="top" nowrap> <em>name</em> </td> |
---|
507 | <td class="md" valign="top"> ) </td> |
---|
508 | <td class="md" nowrap> const</td> |
---|
509 | </tr> |
---|
510 | |
---|
511 | </table> |
---|
512 | </td> |
---|
513 | </tr> |
---|
514 | </table> |
---|
515 | <table cellspacing=5 cellpadding=0 border=0> |
---|
516 | <tr> |
---|
517 | <td> |
---|
518 | |
---|
519 | </td> |
---|
520 | <td> |
---|
521 | |
---|
522 | <p> |
---|
523 | Tests if state for the named animation is present. |
---|
524 | <p> |
---|
525 | </td> |
---|
526 | </tr> |
---|
527 | </table> |
---|
528 | <a class="anchor" name="Ogre_1_1AnimationStateSeta14" doxytag="Ogre::AnimationStateSet::hasEnabledAnimationState" ></a><p> |
---|
529 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
530 | <tr> |
---|
531 | <td class="mdRow"> |
---|
532 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
533 | <tr> |
---|
534 | <td class="md" nowrap valign="top"> bool Ogre::AnimationStateSet::hasEnabledAnimationState </td> |
---|
535 | <td class="md" valign="top">( </td> |
---|
536 | <td class="md" nowrap valign="top">void </td> |
---|
537 | <td class="mdname1" valign="top" nowrap> </td> |
---|
538 | <td class="md" valign="top"> ) </td> |
---|
539 | <td class="md" nowrap> const</td> |
---|
540 | </tr> |
---|
541 | |
---|
542 | </table> |
---|
543 | </td> |
---|
544 | </tr> |
---|
545 | </table> |
---|
546 | <table cellspacing=5 cellpadding=0 border=0> |
---|
547 | <tr> |
---|
548 | <td> |
---|
549 | |
---|
550 | </td> |
---|
551 | <td> |
---|
552 | |
---|
553 | <p> |
---|
554 | Tests if exists enabled animation state in this set. |
---|
555 | <p> |
---|
556 | |
---|
557 | <p> |
---|
558 | Definition at line <a class="el" href="OgreAnimationState_8h-source.html#l00165">165</a> of file <a class="el" href="OgreAnimationState_8h-source.html">OgreAnimationState.h</a>. </td> |
---|
559 | </tr> |
---|
560 | </table> |
---|
561 | <a class="anchor" name="Ogre_1_1AnimationStateSeta7" doxytag="Ogre::AnimationStateSet::removeAllAnimationStates" ></a><p> |
---|
562 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
563 | <tr> |
---|
564 | <td class="mdRow"> |
---|
565 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
566 | <tr> |
---|
567 | <td class="md" nowrap valign="top"> void Ogre::AnimationStateSet::removeAllAnimationStates </td> |
---|
568 | <td class="md" valign="top">( </td> |
---|
569 | <td class="md" nowrap valign="top">void </td> |
---|
570 | <td class="mdname1" valign="top" nowrap> </td> |
---|
571 | <td class="md" valign="top"> ) </td> |
---|
572 | <td class="md" nowrap></td> |
---|
573 | </tr> |
---|
574 | |
---|
575 | </table> |
---|
576 | </td> |
---|
577 | </tr> |
---|
578 | </table> |
---|
579 | <table cellspacing=5 cellpadding=0 border=0> |
---|
580 | <tr> |
---|
581 | <td> |
---|
582 | |
---|
583 | </td> |
---|
584 | <td> |
---|
585 | |
---|
586 | <p> |
---|
587 | Remove all animation states. |
---|
588 | <p> |
---|
589 | </td> |
---|
590 | </tr> |
---|
591 | </table> |
---|
592 | <a class="anchor" name="Ogre_1_1AnimationStateSeta6" doxytag="Ogre::AnimationStateSet::removeAnimationState" ></a><p> |
---|
593 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
594 | <tr> |
---|
595 | <td class="mdRow"> |
---|
596 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
597 | <tr> |
---|
598 | <td class="md" nowrap valign="top"> void Ogre::AnimationStateSet::removeAnimationState </td> |
---|
599 | <td class="md" valign="top">( </td> |
---|
600 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
601 | <td class="mdname1" valign="top" nowrap> <em>name</em> </td> |
---|
602 | <td class="md" valign="top"> ) </td> |
---|
603 | <td class="md" nowrap></td> |
---|
604 | </tr> |
---|
605 | |
---|
606 | </table> |
---|
607 | </td> |
---|
608 | </tr> |
---|
609 | </table> |
---|
610 | <table cellspacing=5 cellpadding=0 border=0> |
---|
611 | <tr> |
---|
612 | <td> |
---|
613 | |
---|
614 | </td> |
---|
615 | <td> |
---|
616 | |
---|
617 | <p> |
---|
618 | Remove animation state with the given name. |
---|
619 | <p> |
---|
620 | </td> |
---|
621 | </tr> |
---|
622 | </table> |
---|
623 | <hr><h2>Member Data Documentation</h2> |
---|
624 | <a class="anchor" name="Ogre_1_1AnimationStateSetp1" doxytag="Ogre::AnimationStateSet::mAnimationStates" ></a><p> |
---|
625 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
626 | <tr> |
---|
627 | <td class="mdRow"> |
---|
628 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
629 | <tr> |
---|
630 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a1">AnimationStateMap</a> <a class="el" href="classOgre_1_1AnimationStateSet.html#Ogre_1_1AnimationStateSetp1">Ogre::AnimationStateSet::mAnimationStates</a><code> [protected]</code> |
---|
631 | </table> |
---|
632 | </td> |
---|
633 | </tr> |
---|
634 | </table> |
---|
635 | <table cellspacing=5 cellpadding=0 border=0> |
---|
636 | <tr> |
---|
637 | <td> |
---|
638 | |
---|
639 | </td> |
---|
640 | <td> |
---|
641 | |
---|
642 | <p> |
---|
643 | |
---|
644 | <p> |
---|
645 | Definition at line <a class="el" href="OgreAnimationState_8h-source.html#l00171">171</a> of file <a class="el" href="OgreAnimationState_8h-source.html">OgreAnimationState.h</a>. </td> |
---|
646 | </tr> |
---|
647 | </table> |
---|
648 | <a class="anchor" name="Ogre_1_1AnimationStateSetp0" doxytag="Ogre::AnimationStateSet::mDirtyFrameNumber" ></a><p> |
---|
649 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
650 | <tr> |
---|
651 | <td class="mdRow"> |
---|
652 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
653 | <tr> |
---|
654 | <td class="md" nowrap valign="top"> unsigned long <a class="el" href="classOgre_1_1AnimationStateSet.html#Ogre_1_1AnimationStateSetp0">Ogre::AnimationStateSet::mDirtyFrameNumber</a><code> [protected]</code> |
---|
655 | </table> |
---|
656 | </td> |
---|
657 | </tr> |
---|
658 | </table> |
---|
659 | <table cellspacing=5 cellpadding=0 border=0> |
---|
660 | <tr> |
---|
661 | <td> |
---|
662 | |
---|
663 | </td> |
---|
664 | <td> |
---|
665 | |
---|
666 | <p> |
---|
667 | |
---|
668 | <p> |
---|
669 | Definition at line <a class="el" href="OgreAnimationState_8h-source.html#l00170">170</a> of file <a class="el" href="OgreAnimationState_8h-source.html">OgreAnimationState.h</a>. </td> |
---|
670 | </tr> |
---|
671 | </table> |
---|
672 | <a class="anchor" name="Ogre_1_1AnimationStateSetp2" doxytag="Ogre::AnimationStateSet::mEnabledAnimationStates" ></a><p> |
---|
673 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
674 | <tr> |
---|
675 | <td class="mdRow"> |
---|
676 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
677 | <tr> |
---|
678 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a4">EnabledAnimationStateList</a> <a class="el" href="classOgre_1_1AnimationStateSet.html#Ogre_1_1AnimationStateSetp2">Ogre::AnimationStateSet::mEnabledAnimationStates</a><code> [protected]</code> |
---|
679 | </table> |
---|
680 | </td> |
---|
681 | </tr> |
---|
682 | </table> |
---|
683 | <table cellspacing=5 cellpadding=0 border=0> |
---|
684 | <tr> |
---|
685 | <td> |
---|
686 | |
---|
687 | </td> |
---|
688 | <td> |
---|
689 | |
---|
690 | <p> |
---|
691 | |
---|
692 | <p> |
---|
693 | Definition at line <a class="el" href="OgreAnimationState_8h-source.html#l00172">172</a> of file <a class="el" href="OgreAnimationState_8h-source.html">OgreAnimationState.h</a>. </td> |
---|
694 | </tr> |
---|
695 | </table> |
---|
696 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
697 | <li><a class="el" href="OgreAnimationState_8h-source.html">OgreAnimationState.h</a></ul> |
---|
698 | <hr> |
---|
699 | <p> |
---|
700 | Copyright © 2000-2005 by The OGRE Team<br /> |
---|
701 | <!--Creative Commons License--><a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/"><img alt="Creative Commons License" border="0" src="http://creativecommons.org/images/public/somerights20.png"/></a><br/> |
---|
702 | This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Commons Attribution-ShareAlike 2.5 License</a>.<br/> |
---|
703 | <!--/Creative Commons License--><!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
---|
704 | <Work rdf:about=""> |
---|
705 | <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" /> |
---|
706 | <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> |
---|
707 | </Work> |
---|
708 | <License rdf:about="http://creativecommons.org/licenses/by-sa/2.5/"><permits rdf:resource="http://web.resource.org/cc/Reproduction"/><permits rdf:resource="http://web.resource.org/cc/Distribution"/><requires rdf:resource="http://web.resource.org/cc/Notice"/><requires rdf:resource="http://web.resource.org/cc/Attribution"/><permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/><requires rdf:resource="http://web.resource.org/cc/ShareAlike"/></License></rdf:RDF> --> |
---|
709 | |
---|
710 | Last modified Sun Mar 12 14:38:04 2006 |
---|
711 | </p> |
---|
712 | </body> |
---|
713 | </html> |
---|