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


A key frame in an animation sequence defined by an \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}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_key_frame_a6d31b620621fdeed1a3fc9f752498ad7}{Key\+Frame} (const \hyperlink{class_ogre_1_1_animation_track}{Animation\+Track} $\ast$parent, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} time)
\begin{DoxyCompactList}\small\item\em Default constructor, you should not call this but use \hyperlink{class_ogre_1_1_animation_track_a4517a1b16d6cb601754d98841bb4d7d6}{Animation\+Track\+::create\+Key\+Frame} instead. \end{DoxyCompactList}\item 
virtual \hyperlink{class_ogre_1_1_key_frame_a2f8e964ccf18553eef80f93c26d0e7bc}{$\sim$\+Key\+Frame} ()
\item 
virtual \hyperlink{class_ogre_1_1_key_frame}{Key\+Frame} $\ast$ \hyperlink{class_ogre_1_1_key_frame_a7ab9d65fa65db74d5c101ceb70c9e843}{\+\_\+clone} (\hyperlink{class_ogre_1_1_animation_track}{Animation\+Track} $\ast$new\+Parent) const \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 
\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \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}


\subsection{Detailed Description}
A key frame in an animation sequence defined by an \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}


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



Default constructor, you should not call this but use \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\+::\+Key\+Frame@{Ogre\+::\+Key\+Frame}!````~Key\+Frame@{$\sim$\+Key\+Frame}}
\index{````~Key\+Frame@{$\sim$\+Key\+Frame}!Ogre\+::\+Key\+Frame@{Ogre\+::\+Key\+Frame}}
\subsubsection{\texorpdfstring{$\sim$\+Key\+Frame()}{~KeyFrame()}}
{\footnotesize\ttfamily virtual Ogre\+::\+Key\+Frame\+::$\sim$\+Key\+Frame (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_key_frame_a8c4fe7a2c23ed4a24bf5030bc3113b94}\label{class_ogre_1_1_key_frame_a8c4fe7a2c23ed4a24bf5030bc3113b94}} 
\index{Ogre\+::\+Key\+Frame@{Ogre\+::\+Key\+Frame}!get\+Time@{get\+Time}}
\index{get\+Time@{get\+Time}!Ogre\+::\+Key\+Frame@{Ogre\+::\+Key\+Frame}}
\subsubsection{\texorpdfstring{get\+Time()}{getTime()}}
{\footnotesize\ttfamily \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. 



References O\+G\+R\+E\+\_\+\+N\+O\+D\+I\+S\+C\+A\+RD.

\mbox{\Hypertarget{class_ogre_1_1_key_frame_a7ab9d65fa65db74d5c101ceb70c9e843}\label{class_ogre_1_1_key_frame_a7ab9d65fa65db74d5c101ceb70c9e843}} 
\index{Ogre\+::\+Key\+Frame@{Ogre\+::\+Key\+Frame}!\+\_\+clone@{\+\_\+clone}}
\index{\+\_\+clone@{\+\_\+clone}!Ogre\+::\+Key\+Frame@{Ogre\+::\+Key\+Frame}}
\subsubsection{\texorpdfstring{\+\_\+clone()}{\_clone()}}
{\footnotesize\ttfamily virtual \hyperlink{class_ogre_1_1_key_frame}{Key\+Frame}$\ast$ Ogre\+::\+Key\+Frame\+::\+\_\+clone (\begin{DoxyParamCaption}\item[{\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 \hyperlink{class_ogre_1_1_vertex_pose_key_frame_ad9a3172af98a0fbd7da0fb40461d4abb}{Ogre\+::\+Vertex\+Pose\+Key\+Frame}, \hyperlink{class_ogre_1_1_vertex_morph_key_frame_ae06c509eb84b25534575093b86c61858}{Ogre\+::\+Vertex\+Morph\+Key\+Frame}, \hyperlink{class_ogre_1_1_transform_key_frame_a0781a2dd8c7d953273c298eadda24e40}{Ogre\+::\+Transform\+Key\+Frame}, and \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 
\hyperlink{_ogre_key_frame_8h}{Ogre\+Key\+Frame.\+h}\end{DoxyCompactItemize}
