Irrlicht 3D Engine
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 
My3D Mesh, the file format by Zhuck Dimitry.
Definition: IAnimatedMesh.h:37
Cartography Shop .csm file. This loader was created by Saurav Mohapatra.
Definition: IAnimatedMesh.h:43
float f32
32 bit floating point variable.
Definition: irrTypes.h:104
E_ANIMATED_MESH_TYPE
Possible types of (animated) meshes.
Definition: IAnimatedMesh.h:16
virtual E_ANIMATED_MESH_TYPE getMeshType() const
Returns the type of the animated mesh.
Unknown animated mesh type.
Definition: IAnimatedMesh.h:19
Quake 2 MD2 model file.
Definition: IAnimatedMesh.h:22
.oct file for Paul Nette's FSRad or from Murphy McCauley's Blender .oct exporter. ...
Definition: IAnimatedMesh.h:48
Halflife MDL model file.
Definition: IAnimatedMesh.h:51
Everything in the Irrlicht Engine can be found in this namespace.
Definition: aabbox3d.h:12
Class which holds the geometry of an object.
Definition: IMesh.h:23
signed int s32
32 bit signed variable.
Definition: irrTypes.h:66
Quake 3 MD3 model file.
Definition: IAnimatedMesh.h:25
virtual f32 getAnimationSpeed() const =0
Gets the animation speed of the animated mesh.
Pulsar LMTools .lmts file. This Irrlicht loader was written by Jonas Petersen.
Definition: IAnimatedMesh.h:40
3D Studio .3ds file
Definition: IAnimatedMesh.h:34
unsigned int u32
32 bit unsigned variable.
Definition: irrTypes.h:58
virtual IMesh * getMesh(s32 frame, s32 detailLevel=255, s32 startFrameLoop=-1, s32 endFrameLoop=-1)=0
Returns the IMesh interface for a frame.
Interface for an animated mesh.
Definition: IAnimatedMesh.h:62
virtual void setAnimationSpeed(f32 fps)=0
Sets the animation speed of the animated mesh.
Maya .obj static model.
Definition: IAnimatedMesh.h:28
generic skinned mesh
Definition: IAnimatedMesh.h:54
virtual u32 getFrameCount() const =0
Gets the frame count of the animated mesh.
Quake 3 .bsp static Map.
Definition: IAnimatedMesh.h:31