\hypertarget{class_ogre_1_1_key_frame}{}\doxysection{Ogre\+::Key\+Frame Class Reference}
\label{class_ogre_1_1_key_frame}\index{Ogre::KeyFrame@{Ogre::KeyFrame}}


A key frame in an animation sequence defined by an \mbox{\hyperlink{class_ogre_1_1_animation_track}{Animation\+Track}}.  




{\ttfamily \#include $<$Ogre\+Key\+Frame.\+h$>$}



Inheritance diagram for Ogre\+::Key\+Frame\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_ogre_1_1_key_frame__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_key_frame_a6d31b620621fdeed1a3fc9f752498ad7}{Key\+Frame}} (const \mbox{\hyperlink{class_ogre_1_1_animation_track}{Animation\+Track}} $\ast$parent, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} time)
\begin{DoxyCompactList}\small\item\em Default constructor, you should not call this but use \mbox{\hyperlink{class_ogre_1_1_animation_track_a4517a1b16d6cb601754d98841bb4d7d6}{Animation\+Track\+::create\+Key\+Frame}} instead. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{class_ogre_1_1_key_frame_a2f8e964ccf18553eef80f93c26d0e7bc}{$\sim$\+Key\+Frame}} ()
\item 
virtual \mbox{\hyperlink{class_ogre_1_1_key_frame}{Key\+Frame}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_key_frame_a7ab9d65fa65db74d5c101ceb70c9e843}{\+\_\+clone}} (\mbox{\hyperlink{class_ogre_1_1_animation_track}{Animation\+Track}} $\ast$new\+Parent) const \mbox{\hyperlink{_ogre_platform_8h_a11162eebee0099930c48076229cc6f04}{O\+G\+R\+E\+\_\+\+N\+O\+D\+I\+S\+C\+A\+RD}}
\begin{DoxyCompactList}\small\item\em Clone a keyframe (internal use only) \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\hyperlink{class_ogre_1_1_key_frame_a8c4fe7a2c23ed4a24bf5030bc3113b94}{get\+Time}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the time of this keyframe in the animation sequence. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
A key frame in an animation sequence defined by an \mbox{\hyperlink{class_ogre_1_1_animation_track}{Animation\+Track}}. 

\begin{DoxyRemark}{Remarks}
This class can be used as a basis for all kinds of key frames. The unifying principle is that multiple Key\+Frames define an animation sequence, with the exact state of the animation being an interpolation between these key frames. 
\end{DoxyRemark}


\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_key_frame_a6d31b620621fdeed1a3fc9f752498ad7}\label{class_ogre_1_1_key_frame_a6d31b620621fdeed1a3fc9f752498ad7}} 
\index{Ogre::KeyFrame@{Ogre::KeyFrame}!KeyFrame@{KeyFrame}}
\index{KeyFrame@{KeyFrame}!Ogre::KeyFrame@{Ogre::KeyFrame}}
\doxysubsubsection{\texorpdfstring{KeyFrame()}{KeyFrame()}}
{\footnotesize\ttfamily Ogre\+::\+Key\+Frame\+::\+Key\+Frame (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_animation_track}{Animation\+Track}} $\ast$}]{parent,  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{time }\end{DoxyParamCaption})}



Default constructor, you should not call this but use \mbox{\hyperlink{class_ogre_1_1_animation_track_a4517a1b16d6cb601754d98841bb4d7d6}{Animation\+Track\+::create\+Key\+Frame}} instead. 

\mbox{\Hypertarget{class_ogre_1_1_key_frame_a2f8e964ccf18553eef80f93c26d0e7bc}\label{class_ogre_1_1_key_frame_a2f8e964ccf18553eef80f93c26d0e7bc}} 
\index{Ogre::KeyFrame@{Ogre::KeyFrame}!````~KeyFrame@{$\sim$KeyFrame}}
\index{````~KeyFrame@{$\sim$KeyFrame}!Ogre::KeyFrame@{Ogre::KeyFrame}}
\doxysubsubsection{\texorpdfstring{$\sim$KeyFrame()}{~KeyFrame()}}
{\footnotesize\ttfamily virtual Ogre\+::\+Key\+Frame\+::$\sim$\+Key\+Frame (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_key_frame_a8c4fe7a2c23ed4a24bf5030bc3113b94}\label{class_ogre_1_1_key_frame_a8c4fe7a2c23ed4a24bf5030bc3113b94}} 
\index{Ogre::KeyFrame@{Ogre::KeyFrame}!getTime@{getTime}}
\index{getTime@{getTime}!Ogre::KeyFrame@{Ogre::KeyFrame}}
\doxysubsubsection{\texorpdfstring{getTime()}{getTime()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} Ogre\+::\+Key\+Frame\+::get\+Time (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets the time of this keyframe in the animation sequence. 

\mbox{\Hypertarget{class_ogre_1_1_key_frame_a7ab9d65fa65db74d5c101ceb70c9e843}\label{class_ogre_1_1_key_frame_a7ab9d65fa65db74d5c101ceb70c9e843}} 
\index{Ogre::KeyFrame@{Ogre::KeyFrame}!\_clone@{\_clone}}
\index{\_clone@{\_clone}!Ogre::KeyFrame@{Ogre::KeyFrame}}
\doxysubsubsection{\texorpdfstring{\_clone()}{\_clone()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{class_ogre_1_1_key_frame}{Key\+Frame}}$\ast$ Ogre\+::\+Key\+Frame\+::\+\_\+clone (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_animation_track}{Animation\+Track}} $\ast$}]{new\+Parent }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



Clone a keyframe (internal use only) 



Reimplemented in \mbox{\hyperlink{class_ogre_1_1_vertex_pose_key_frame_ad9a3172af98a0fbd7da0fb40461d4abb}{Ogre\+::\+Vertex\+Pose\+Key\+Frame}}, \mbox{\hyperlink{class_ogre_1_1_vertex_morph_key_frame_ae06c509eb84b25534575093b86c61858}{Ogre\+::\+Vertex\+Morph\+Key\+Frame}}, \mbox{\hyperlink{class_ogre_1_1_transform_key_frame_a0781a2dd8c7d953273c298eadda24e40}{Ogre\+::\+Transform\+Key\+Frame}}, and \mbox{\hyperlink{class_ogre_1_1_numeric_key_frame_a1fad07f6710318d12f1c637164e15dd5}{Ogre\+::\+Numeric\+Key\+Frame}}.



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