Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials
IAnimatedMesh.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_H_INCLUDED__
6 #define __I_ANIMATED_MESH_H_INCLUDED__
7 
8 #include "aabbox3d.h"
9 #include "IMesh.h"
10 
11 namespace irr
12 {
13 namespace scene
14 {
17  {
20 
23 
26 
29 
32 
35 
38 
41 
44 
46 
49 
52 
55  };
56 
58 
62  class IAnimatedMesh : public IMesh
63  {
64  public:
65 
67 
69  virtual u32 getFrameCount() const = 0;
70 
72 
75  virtual f32 getAnimationSpeed() const = 0;
76 
78 
82  virtual void setAnimationSpeed(f32 fps) =0;
83 
85 
97  virtual IMesh* getMesh(s32 frame, s32 detailLevel=255, s32 startFrameLoop=-1, s32 endFrameLoop=-1) = 0;
98 
100 
106  {
107  return EAMT_UNKNOWN;
108  }
109  };
110 
111 } // end namespace scene
112 } // end namespace irr
113 
114 #endif
115 

The Irrlicht Engine
The Irrlicht Engine Documentation © 2003-2010 by Nikolaus Gebhardt. Generated on Mon May 6 2013 17:41:01 by Doxygen (1.8.3.1)