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


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}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_animation_controller_function_a960ce93c9ad39f7a1eec98d0fce5c6c8}{Animation\+Controller\+Function} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} sequence\+Time, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} time\+Offset=0.\+0f)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_animation_controller_function_a4f3ff1b57eba7e774d10b833273ec137}{calculate} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} source)
\begin{DoxyCompactList}\small\item\em Overridden function. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_animation_controller_function_a6185e4121c1ba411a09834d3950be32e}{set\+Sequence\+Time} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} seq\+Val)
\begin{DoxyCompactList}\small\item\em Set the sequence duration value manually. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_animation_controller_function_aee7d37308bff5172e3b7e58a7d31627a}{set\+Time} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} time\+Val)
\begin{DoxyCompactList}\small\item\em Set the time value manually. \end{DoxyCompactList}\end{DoxyCompactItemize}


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

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



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}


\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_animation_controller_function_a4f3ff1b57eba7e774d10b833273ec137}\label{class_ogre_1_1_animation_controller_function_a4f3ff1b57eba7e774d10b833273ec137}} 
\index{Ogre\+::\+Animation\+Controller\+Function@{Ogre\+::\+Animation\+Controller\+Function}!calculate@{calculate}}
\index{calculate@{calculate}!Ogre\+::\+Animation\+Controller\+Function@{Ogre\+::\+Animation\+Controller\+Function}}
\subsubsection{\texorpdfstring{calculate()}{calculate()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Animation\+Controller\+Function\+::calculate (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{source }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Overridden function. 



Implements \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\+::\+Animation\+Controller\+Function@{Ogre\+::\+Animation\+Controller\+Function}!set\+Time@{set\+Time}}
\index{set\+Time@{set\+Time}!Ogre\+::\+Animation\+Controller\+Function@{Ogre\+::\+Animation\+Controller\+Function}}
\subsubsection{\texorpdfstring{set\+Time()}{setTime()}}
{\footnotesize\ttfamily void Ogre\+::\+Animation\+Controller\+Function\+::set\+Time (\begin{DoxyParamCaption}\item[{\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\+::\+Animation\+Controller\+Function@{Ogre\+::\+Animation\+Controller\+Function}!set\+Sequence\+Time@{set\+Sequence\+Time}}
\index{set\+Sequence\+Time@{set\+Sequence\+Time}!Ogre\+::\+Animation\+Controller\+Function@{Ogre\+::\+Animation\+Controller\+Function}}
\subsubsection{\texorpdfstring{set\+Sequence\+Time()}{setSequenceTime()}}
{\footnotesize\ttfamily void Ogre\+::\+Animation\+Controller\+Function\+::set\+Sequence\+Time (\begin{DoxyParamCaption}\item[{\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 
\hyperlink{_ogre_predefined_controllers_8h}{Ogre\+Predefined\+Controllers.\+h}\end{DoxyCompactItemize}
