Irrlicht 3D Engine
 
Loading...
Searching...
No Matches
IAnimatedMeshMD2.h
Go to the documentation of this file.
1// Copyright (C) 2002-2012 Nikolaus Gebhardt
2// This file is part of the "Irrlicht Engine".
3// For conditions of distribution and use, see copyright notice in irrlicht.h
4
5#ifndef __I_ANIMATED_MESH_MD2_H_INCLUDED__
6#define __I_ANIMATED_MESH_MD2_H_INCLUDED__
7
8#include "IAnimatedMesh.h"
9
10namespace irr
11{
12namespace scene
13{
14
43
46 {
47 public:
48
50
55 virtual void getFrameLoop(EMD2_ANIMATION_TYPE l, s32& outBegin,
56 s32& outEnd, s32& outFPS) const = 0;
57
59
64 virtual bool getFrameLoop(const c8* name,
65 s32& outBegin, s32& outEnd, s32& outFPS) const = 0;
66
68 virtual s32 getAnimationCount() const = 0;
69
71
72 virtual const c8* getAnimationName(s32 nr) const = 0;
73 };
74
75} // end namespace scene
76} // end namespace irr
77
78#endif
79
Interface for an animated mesh.
Interface for using some special functions of MD2 meshes.
virtual void getFrameLoop(EMD2_ANIMATION_TYPE l, s32 &outBegin, s32 &outEnd, s32 &outFPS) const =0
Get frame loop data for a default MD2 animation type.
virtual bool getFrameLoop(const c8 *name, s32 &outBegin, s32 &outEnd, s32 &outFPS) const =0
Get frame loop data for a special MD2 animation type, identified by name.
virtual const c8 * getAnimationName(s32 nr) const =0
Get name of md2 animation.
virtual s32 getAnimationCount() const =0
Get amount of md2 animations in this file.
EMD2_ANIMATION_TYPE
Types of standard md2 animations.
@ EMAT_COUNT
Not an animation, but amount of animation types.
Everything in the Irrlicht Engine can be found in this namespace.
Definition aabbox3d.h:13
char c8
8 bit character variable.
Definition irrTypes.h:31
signed int s32
32 bit signed variable.
Definition irrTypes.h:66