]> git.lizzy.rs Git - irrlicht.git/blob - source/Irrlicht/CEmptySceneNode.h
2832595c3211ef42eb97ca837e626a28f16d550b
[irrlicht.git] / source / Irrlicht / CEmptySceneNode.h
1 // Copyright (C) 2002-2012 Nikolaus Gebhardt\r
2 // This file is part of the "Irrlicht Engine".\r
3 // For conditions of distribution and use, see copyright notice in irrlicht.h\r
4 \r
5 #ifndef __C_EMPTY_SCENE_NODE_H_INCLUDED__\r
6 #define __C_EMPTY_SCENE_NODE_H_INCLUDED__\r
7 \r
8 #include "ISceneNode.h"\r
9 \r
10 namespace irr\r
11 {\r
12 namespace scene\r
13 {\r
14 \r
15         class CEmptySceneNode : public ISceneNode\r
16         {\r
17         public:\r
18 \r
19                 //! constructor\r
20                 CEmptySceneNode(ISceneNode* parent, ISceneManager* mgr, s32 id);\r
21 \r
22                 //! returns the axis aligned bounding box of this node\r
23                 virtual const core::aabbox3d<f32>& getBoundingBox() const _IRR_OVERRIDE_;\r
24 \r
25                 //! This method is called just before the rendering process of the whole scene.\r
26                 virtual void OnRegisterSceneNode() _IRR_OVERRIDE_;\r
27 \r
28                 //! does nothing.\r
29                 virtual void render() _IRR_OVERRIDE_;\r
30 \r
31                 //! Returns type of the scene node\r
32                 virtual ESCENE_NODE_TYPE getType() const _IRR_OVERRIDE_ { return ESNT_EMPTY; }\r
33 \r
34                 //! Creates a clone of this scene node and its children.\r
35                 virtual ISceneNode* clone(ISceneNode* newParent=0, ISceneManager* newManager=0) _IRR_OVERRIDE_;\r
36 \r
37         private:\r
38 \r
39                 core::aabbox3d<f32> Box;\r
40         };\r
41 \r
42 } // end namespace scene\r
43 } // end namespace irr\r
44 \r
45 #endif\r
46 \r