<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Irrlicht Engine: irr::scene::IAnimatedMeshMD2 Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <table class="irrlicht" > <tr valign="middle"> <td><font size="2"><a class="qindex" href="index.html"><font color="#FFFFFF">Home</font></a> | <a class="qindex" href="namespaces.html"><font color="#FFFFFF">Namespaces</font></a> | <a class="qindex" href="hierarchy.html"><font color="#FFFFFF">Hierarchy</font></a> | <a class="qindex" href="classes.html"><font color="#FFFFFF">Alphabetical List</font></a> | <a class="qindex" href="annotated.html"><font color="#FFFFFF"> Class list</font></a> | <a class="qindex" href="files.html"><font color="#FFFFFF">Files</font></a> | <a class="qindex" href="namespacemembers.html"><font color="#FFFFFF"> Namespace Members</font></a> | <a class="qindex" href="functions.html"><font color="#FFFFFF">Class members</font></a> | <a class="qindex" href="globals.html"><font color="#FFFFFF">File members</font></a> | <a class="qindex" href="pages.html"><font color="#FFFFFF">Tutorials</font></a></font> </td> </tr> </table> <!-- Generated by Doxygen 1.5.6 --> <div class="navpath"><a class="el" href="namespaceirr.html">irr</a>::<a class="el" href="namespaceirr_1_1scene.html">scene</a>::<a class="el" href="classirr_1_1scene_1_1_i_animated_mesh_m_d2.html">IAnimatedMeshMD2</a> </div> <div class="contents"> <h1>irr::scene::IAnimatedMeshMD2 Class Reference</h1><!-- doxytag: class="irr::scene::IAnimatedMeshMD2" --><!-- doxytag: inherits="irr::scene::IAnimatedMesh" -->Interface for using some special functions of MD2 meshes. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="_i_animated_mesh_m_d2_8h-source.html">IAnimatedMeshMD2.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for irr::scene::IAnimatedMeshMD2:</div> <div class="dynsection"> <p><center><img src="classirr_1_1scene_1_1_i_animated_mesh_m_d2.png" usemap="#irr::scene::IAnimatedMeshMD2_map" border="0" alt=""></center> <map name="irr::scene::IAnimatedMeshMD2_map"> <area href="classirr_1_1scene_1_1_i_animated_mesh.html" alt="irr::scene::IAnimatedMesh" shape="rect" coords="0,112,184,136"> <area href="classirr_1_1scene_1_1_i_mesh.html" alt="irr::scene::IMesh" shape="rect" coords="0,56,184,80"> <area href="classirr_1_1_i_reference_counted.html" alt="irr::IReferenceCounted" shape="rect" coords="0,0,184,24"> </map> </div> <p> <a href="classirr_1_1scene_1_1_i_animated_mesh_m_d2-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6">s32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1scene_1_1_i_animated_mesh_m_d2.html#bb4479ea266ea54230bf21c36319b323">getAnimationCount</a> () const =0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get amount of md2 animations in this file. <a href="#bb4479ea266ea54230bf21c36319b323"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const <a class="el" href="namespaceirr.html#9395eaea339bcb546b319e9c96bf7410">c8</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1scene_1_1_i_animated_mesh_m_d2.html#a619158d0fc11ea1032d838abf3566ca">getAnimationName</a> (<a class="el" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6">s32</a> nr) const =0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get name of md2 animation. <a href="#a619158d0fc11ea1032d838abf3566ca"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1scene_1_1_i_animated_mesh_m_d2.html#4d52cae663c479d88296561ec961410a">getFrameLoop</a> (const <a class="el" href="namespaceirr.html#9395eaea339bcb546b319e9c96bf7410">c8</a> *name, <a class="el" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6">s32</a> &outBegin, <a class="el" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6">s32</a> &outEnd, <a class="el" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6">s32</a> &outFPS) const =0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get frame loop data for a special MD2 animation type, identified by name. <a href="#4d52cae663c479d88296561ec961410a"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1scene_1_1_i_animated_mesh_m_d2.html#0bab7f9b11fd11f1fa8f2cd6e085b596">getFrameLoop</a> (<a class="el" href="namespaceirr_1_1scene.html#08d4a84966e1d2886d0d57e4acbb4f19">EMD2_ANIMATION_TYPE</a> l, <a class="el" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6">s32</a> &outBegin, <a class="el" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6">s32</a> &outEnd, <a class="el" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6">s32</a> &outFPS) const =0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get frame loop data for a default MD2 animation type. <a href="#0bab7f9b11fd11f1fa8f2cd6e085b596"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Interface for using some special functions of MD2 meshes. <p>Definition at line <a class="el" href="_i_animated_mesh_m_d2_8h-source.html#l00045">45</a> of file <a class="el" href="_i_animated_mesh_m_d2_8h-source.html">IAnimatedMeshMD2.h</a>.</p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="bb4479ea266ea54230bf21c36319b323"></a><!-- doxytag: member="irr::scene::IAnimatedMeshMD2::getAnimationCount" ref="bb4479ea266ea54230bf21c36319b323" args="() const =0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6">s32</a> irr::scene::IAnimatedMeshMD2::getAnimationCount </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const<code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get amount of md2 animations in this file. <p> </div> </div><p> <a class="anchor" name="a619158d0fc11ea1032d838abf3566ca"></a><!-- doxytag: member="irr::scene::IAnimatedMeshMD2::getAnimationName" ref="a619158d0fc11ea1032d838abf3566ca" args="(s32 nr) const =0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual const <a class="el" href="namespaceirr.html#9395eaea339bcb546b319e9c96bf7410">c8</a>* irr::scene::IAnimatedMeshMD2::getAnimationName </td> <td>(</td> <td class="paramtype"><a class="el" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> <td class="paramname"> <em>nr</em> </td> <td> ) </td> <td> const<code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get name of md2 animation. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>nr,:</em> </td><td>Zero based index of animation. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="4d52cae663c479d88296561ec961410a"></a><!-- doxytag: member="irr::scene::IAnimatedMeshMD2::getFrameLoop" ref="4d52cae663c479d88296561ec961410a" args="(const c8 *name, s32 &outBegin, s32 &outEnd, s32 &outFPS) const =0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool irr::scene::IAnimatedMeshMD2::getFrameLoop </td> <td>(</td> <td class="paramtype">const <a class="el" href="namespaceirr.html#9395eaea339bcb546b319e9c96bf7410">c8</a> * </td> <td class="paramname"> <em>name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6">s32</a> & </td> <td class="paramname"> <em>outBegin</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6">s32</a> & </td> <td class="paramname"> <em>outEnd</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6">s32</a> & </td> <td class="paramname"> <em>outFPS</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> const<code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get frame loop data for a special MD2 animation type, identified by name. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>Name of the animation. </td></tr> <tr><td valign="top"></td><td valign="top"><em>outBegin</em> </td><td>The returned beginning frame for animation type specified. </td></tr> <tr><td valign="top"></td><td valign="top"><em>outEnd</em> </td><td>The returned ending frame for the animation type specified. </td></tr> <tr><td valign="top"></td><td valign="top"><em>outFPS</em> </td><td>The number of frames per second, this animation should be played at. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>beginframe, endframe and frames per second for a special MD2 animation type. </dd></dl> </div> </div><p> <a class="anchor" name="0bab7f9b11fd11f1fa8f2cd6e085b596"></a><!-- doxytag: member="irr::scene::IAnimatedMeshMD2::getFrameLoop" ref="0bab7f9b11fd11f1fa8f2cd6e085b596" args="(EMD2_ANIMATION_TYPE l, s32 &outBegin, s32 &outEnd, s32 &outFPS) const =0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void irr::scene::IAnimatedMeshMD2::getFrameLoop </td> <td>(</td> <td class="paramtype"><a class="el" href="namespaceirr_1_1scene.html#08d4a84966e1d2886d0d57e4acbb4f19">EMD2_ANIMATION_TYPE</a> </td> <td class="paramname"> <em>l</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6">s32</a> & </td> <td class="paramname"> <em>outBegin</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6">s32</a> & </td> <td class="paramname"> <em>outEnd</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6">s32</a> & </td> <td class="paramname"> <em>outFPS</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> const<code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get frame loop data for a default MD2 animation type. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>l</em> </td><td>The EMD2_ANIMATION_TYPE to get the frames for. </td></tr> <tr><td valign="top"></td><td valign="top"><em>outBegin</em> </td><td>The returned beginning frame for animation type specified. </td></tr> <tr><td valign="top"></td><td valign="top"><em>outEnd</em> </td><td>The returned ending frame for the animation type specified. </td></tr> <tr><td valign="top"></td><td valign="top"><em>outFPS</em> </td><td>The number of frames per second, this animation should be played at. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>beginframe, endframe and frames per second for a default MD2 animation type. </dd></dl> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="_i_animated_mesh_m_d2_8h-source.html">IAnimatedMeshMD2.h</a></ul> </div> <hr size="1"> <address style="align: right;"> <small> </small> </address> <table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td width="0"> <div align="left"><small><a href="http://irrlicht.sourceforge.net" target="_blank"><img src="irrlicht.png" alt="The Irrlicht Engine" align="middle" border=0 width=88 height=31></a></small></div></td> <td> <div align="left"><small><em><font size="2">The <a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht Engine</a> Documentation © 2003-2009 by Nikolaus Gebhardt. Generated on Sun Jan 10 09:24:13 2010 by <a href="http://www.doxygen.org" target="_blank">Doxygen</a> (1.5.6)</font></em></small></div></td> </tr> </table> <address style="align: right;"> </address> </body> </html>