Irrlicht Engine: IMeshSceneNode.h Source File

Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials

# IMeshSceneNode.h

Go to the documentation of this file.

    00001 // Copyright (C) 2002-2010 Nikolaus Gebhardt
    00002 // This file is part of the "Irrlicht Engine".
    00003 // For conditions of distribution and use, see copyright notice in irrlicht.h
    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 } // end namespace scene
    00053 } // end namespace irr
    00054
    00055
    00056 #endif
    00057

| The Irrlicht Engine Documentation © 2003-2010 by Nikolaus Gebhardt. Generated on Sun Oct 24 12:41:57 2010 by Doxygen (1.6.2)