\hypertarget{class_ogre_1_1_animation_controller_function}{}\doxysection{Ogre\+::Animation\+Controller\+Function Class Reference}
\label{class_ogre_1_1_animation_controller_function}\index{Ogre::AnimationControllerFunction@{Ogre::AnimationControllerFunction}}


Predefined controller function for dealing with animation.  




{\ttfamily \#include $<$Ogre\+Predefined\+Controllers.\+h$>$}



Inheritance diagram for Ogre\+::Animation\+Controller\+Function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=224pt]{class_ogre_1_1_animation_controller_function__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_animation_controller_function_a960ce93c9ad39f7a1eec98d0fce5c6c8}{Animation\+Controller\+Function}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} sequence\+Time, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} time\+Offset=0.\+0f)
\item 
\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\hyperlink{class_ogre_1_1_animation_controller_function_a4f3ff1b57eba7e774d10b833273ec137}{calculate}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} source)
\item 
void \mbox{\hyperlink{class_ogre_1_1_animation_controller_function_a6185e4121c1ba411a09834d3950be32e}{set\+Sequence\+Time}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} seq\+Val)
\begin{DoxyCompactList}\small\item\em Set the sequence duration value manually. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_animation_controller_function_aee7d37308bff5172e3b7e58a7d31627a}{set\+Time}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} time\+Val)
\begin{DoxyCompactList}\small\item\em Set the time value manually. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \mbox{\hyperlink{group___general_gafa8597a66f145eabb45e932f28fbb0b8}{Controller\+Function\+Real\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_animation_controller_function_ae5b3c53fb3ffea9f2dba73272e2a7b45}{create}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} sequence\+Time, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} time\+Offset=0.\+0f)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Predefined controller function for dealing with animation. 

\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_animation_controller_function_a960ce93c9ad39f7a1eec98d0fce5c6c8}\label{class_ogre_1_1_animation_controller_function_a960ce93c9ad39f7a1eec98d0fce5c6c8}} 
\index{Ogre::AnimationControllerFunction@{Ogre::AnimationControllerFunction}!AnimationControllerFunction@{AnimationControllerFunction}}
\index{AnimationControllerFunction@{AnimationControllerFunction}!Ogre::AnimationControllerFunction@{Ogre::AnimationControllerFunction}}
\doxysubsubsection{\texorpdfstring{AnimationControllerFunction()}{AnimationControllerFunction()}}
{\footnotesize\ttfamily Ogre\+::\+Animation\+Controller\+Function\+::\+Animation\+Controller\+Function (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{sequence\+Time,  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{time\+Offset = {\ttfamily 0.0f} }\end{DoxyParamCaption})}

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000107}{Deprecated}}]use \mbox{\hyperlink{class_ogre_1_1_animation_controller_function_ae5b3c53fb3ffea9f2dba73272e2a7b45}{create()}} \end{DoxyRefDesc}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_animation_controller_function_ae5b3c53fb3ffea9f2dba73272e2a7b45}\label{class_ogre_1_1_animation_controller_function_ae5b3c53fb3ffea9f2dba73272e2a7b45}} 
\index{Ogre::AnimationControllerFunction@{Ogre::AnimationControllerFunction}!create@{create}}
\index{create@{create}!Ogre::AnimationControllerFunction@{Ogre::AnimationControllerFunction}}
\doxysubsubsection{\texorpdfstring{create()}{create()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{group___general_gafa8597a66f145eabb45e932f28fbb0b8}{Controller\+Function\+Real\+Ptr}} Ogre\+::\+Animation\+Controller\+Function\+::create (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{sequence\+Time,  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{time\+Offset = {\ttfamily 0.0f} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Constructor. 


\begin{DoxyParams}{Parameters}
{\em sequence\+Time} & The amount of time in seconds it takes to loop through the whole animation sequence. \\
\hline
{\em time\+Offset} & The offset in seconds at which to start (default is start at 0) \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_animation_controller_function_a4f3ff1b57eba7e774d10b833273ec137}\label{class_ogre_1_1_animation_controller_function_a4f3ff1b57eba7e774d10b833273ec137}} 
\index{Ogre::AnimationControllerFunction@{Ogre::AnimationControllerFunction}!calculate@{calculate}}
\index{calculate@{calculate}!Ogre::AnimationControllerFunction@{Ogre::AnimationControllerFunction}}
\doxysubsubsection{\texorpdfstring{calculate()}{calculate()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} Ogre\+::\+Animation\+Controller\+Function\+::calculate (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{source }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Implements \mbox{\hyperlink{class_ogre_1_1_controller_function_a0f77d037a78ce3b430c0a18fbe711df0}{Ogre\+::\+Controller\+Function$<$ Real $>$}}.

\mbox{\Hypertarget{class_ogre_1_1_animation_controller_function_aee7d37308bff5172e3b7e58a7d31627a}\label{class_ogre_1_1_animation_controller_function_aee7d37308bff5172e3b7e58a7d31627a}} 
\index{Ogre::AnimationControllerFunction@{Ogre::AnimationControllerFunction}!setTime@{setTime}}
\index{setTime@{setTime}!Ogre::AnimationControllerFunction@{Ogre::AnimationControllerFunction}}
\doxysubsubsection{\texorpdfstring{setTime()}{setTime()}}
{\footnotesize\ttfamily void Ogre\+::\+Animation\+Controller\+Function\+::set\+Time (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{time\+Val }\end{DoxyParamCaption})}



Set the time value manually. 

\mbox{\Hypertarget{class_ogre_1_1_animation_controller_function_a6185e4121c1ba411a09834d3950be32e}\label{class_ogre_1_1_animation_controller_function_a6185e4121c1ba411a09834d3950be32e}} 
\index{Ogre::AnimationControllerFunction@{Ogre::AnimationControllerFunction}!setSequenceTime@{setSequenceTime}}
\index{setSequenceTime@{setSequenceTime}!Ogre::AnimationControllerFunction@{Ogre::AnimationControllerFunction}}
\doxysubsubsection{\texorpdfstring{setSequenceTime()}{setSequenceTime()}}
{\footnotesize\ttfamily void Ogre\+::\+Animation\+Controller\+Function\+::set\+Sequence\+Time (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{seq\+Val }\end{DoxyParamCaption})}



Set the sequence duration value manually. 



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{_ogre_predefined_controllers_8h}{Ogre\+Predefined\+Controllers.\+h}}\end{DoxyCompactItemize}
