00001
00002
00003
00004
00005 #ifndef __I_MESH_SCENE_NODE_H_INCLUDED__
00006 #define __I_MESH_SCENE_NODE_H_INCLUDED__
00007
00008 #include "ISceneNode.h"
00009
00010 namespace irr
00011 {
00012 namespace scene
00013 {
00014
00015 class IMesh;
00016
00017
00019 class IMeshSceneNode : public ISceneNode
00020 {
00021 public:
00022
00024
00026 IMeshSceneNode(ISceneNode* parent, ISceneManager* mgr, s32 id,
00027 const core::vector3df& position = core::vector3df(0,0,0),
00028 const core::vector3df& rotation = core::vector3df(0,0,0),
00029 const core::vector3df& scale = core::vector3df(1,1,1))
00030 : ISceneNode(parent, mgr, id, position, rotation, scale) {}
00031
00033
00034 virtual void setMesh(IMesh* mesh) = 0;
00035
00037
00038 virtual IMesh* getMesh(void) = 0;
00039
00041
00044 virtual void setReadOnlyMaterials(bool readonly) = 0;
00045
00047
00049 virtual bool isReadOnlyMaterials() const = 0;
00050 };
00051
00052 }
00053 }
00054
00055
00056 #endif
00057