Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials
IMeshSceneNode.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2010 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_MESH_SCENE_NODE_H_INCLUDED__
6 #define __I_MESH_SCENE_NODE_H_INCLUDED__
7 
8 #include "ISceneNode.h"
9 
10 namespace irr
11 {
12 namespace scene
13 {
14 
15 class IMesh;
16 
17 
19 class IMeshSceneNode : public ISceneNode
20 {
21 public:
22 
24 
27  const core::vector3df& position = core::vector3df(0,0,0),
28  const core::vector3df& rotation = core::vector3df(0,0,0),
29  const core::vector3df& scale = core::vector3df(1,1,1))
30  : ISceneNode(parent, mgr, id, position, rotation, scale) {}
31 
33 
34  virtual void setMesh(IMesh* mesh) = 0;
35 
37 
38  virtual IMesh* getMesh(void) = 0;
39 
41 
44  virtual void setReadOnlyMaterials(bool readonly) = 0;
45 
47 
49  virtual bool isReadOnlyMaterials() const = 0;
50 };
51 
52 } // end namespace scene
53 } // end namespace irr
54 
55 
56 #endif
57 

The Irrlicht Engine
The Irrlicht Engine Documentation © 2003-2010 by Nikolaus Gebhardt. Generated on Fri Mar 21 2014 04:40:16 by Doxygen (1.8.1.2)