diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/irrlicht-1.8/include/IVolumeLightSceneNode.h | 120 |
1 files changed, 60 insertions, 60 deletions
diff --git a/libraries/irrlicht-1.8/include/IVolumeLightSceneNode.h b/libraries/irrlicht-1.8/include/IVolumeLightSceneNode.h index 6386112..8ae2d17 100644 --- a/libraries/irrlicht-1.8/include/IVolumeLightSceneNode.h +++ b/libraries/irrlicht-1.8/include/IVolumeLightSceneNode.h | |||
@@ -1,60 +1,60 @@ | |||
1 | // Copyright (C) 2002-2012 Nikolaus Gebhardt | 1 | // Copyright (C) 2002-2012 Nikolaus Gebhardt |
2 | // This file is part of the "Irrlicht Engine". | 2 | // This file is part of the "Irrlicht Engine". |
3 | // For conditions of distribution and use, see copyright notice in irrlicht.h | 3 | // For conditions of distribution and use, see copyright notice in irrlicht.h |
4 | // | 4 | // |
5 | // created by Dean Wadsworth aka Varmint Dec 31 2007 | 5 | // created by Dean Wadsworth aka Varmint Dec 31 2007 |
6 | 6 | ||
7 | #ifndef __I_VOLUME_LIGHT_SCENE_NODE_H_INCLUDED__ | 7 | #ifndef __I_VOLUME_LIGHT_SCENE_NODE_H_INCLUDED__ |
8 | #define __I_VOLUME_LIGHT_SCENE_NODE_H_INCLUDED__ | 8 | #define __I_VOLUME_LIGHT_SCENE_NODE_H_INCLUDED__ |
9 | 9 | ||
10 | #include "ISceneNode.h" | 10 | #include "ISceneNode.h" |
11 | 11 | ||
12 | namespace irr | 12 | namespace irr |
13 | { | 13 | { |
14 | namespace scene | 14 | namespace scene |
15 | { | 15 | { |
16 | class IMeshBuffer; | 16 | class IMeshBuffer; |
17 | 17 | ||
18 | class IVolumeLightSceneNode : public ISceneNode | 18 | class IVolumeLightSceneNode : public ISceneNode |
19 | { | 19 | { |
20 | public: | 20 | public: |
21 | 21 | ||
22 | //! constructor | 22 | //! constructor |
23 | IVolumeLightSceneNode(ISceneNode* parent, ISceneManager* mgr, s32 id, | 23 | IVolumeLightSceneNode(ISceneNode* parent, ISceneManager* mgr, s32 id, |
24 | const core::vector3df& position, | 24 | const core::vector3df& position, |
25 | const core::vector3df& rotation, | 25 | const core::vector3df& rotation, |
26 | const core::vector3df& scale) | 26 | const core::vector3df& scale) |
27 | : ISceneNode(parent, mgr, id, position, rotation, scale) {}; | 27 | : ISceneNode(parent, mgr, id, position, rotation, scale) {}; |
28 | 28 | ||
29 | //! Returns type of the scene node | 29 | //! Returns type of the scene node |
30 | virtual ESCENE_NODE_TYPE getType() const { return ESNT_VOLUME_LIGHT; } | 30 | virtual ESCENE_NODE_TYPE getType() const { return ESNT_VOLUME_LIGHT; } |
31 | 31 | ||
32 | //! Sets the number of segments across the U axis | 32 | //! Sets the number of segments across the U axis |
33 | virtual void setSubDivideU(const u32 inU) =0; | 33 | virtual void setSubDivideU(const u32 inU) =0; |
34 | 34 | ||
35 | //! Sets the number of segments across the V axis | 35 | //! Sets the number of segments across the V axis |
36 | virtual void setSubDivideV(const u32 inV) =0; | 36 | virtual void setSubDivideV(const u32 inV) =0; |
37 | 37 | ||
38 | //! Returns the number of segments across the U axis | 38 | //! Returns the number of segments across the U axis |
39 | virtual u32 getSubDivideU() const =0; | 39 | virtual u32 getSubDivideU() const =0; |
40 | 40 | ||
41 | //! Returns the number of segments across the V axis | 41 | //! Returns the number of segments across the V axis |
42 | virtual u32 getSubDivideV() const =0; | 42 | virtual u32 getSubDivideV() const =0; |
43 | 43 | ||
44 | //! Sets the color of the base of the light | 44 | //! Sets the color of the base of the light |
45 | virtual void setFootColor(const video::SColor inColor) =0; | 45 | virtual void setFootColor(const video::SColor inColor) =0; |
46 | 46 | ||
47 | //! Sets the color of the tip of the light | 47 | //! Sets the color of the tip of the light |
48 | virtual void setTailColor(const video::SColor inColor) =0; | 48 | virtual void setTailColor(const video::SColor inColor) =0; |
49 | 49 | ||
50 | //! Returns the color of the base of the light | 50 | //! Returns the color of the base of the light |
51 | virtual video::SColor getFootColor() const =0; | 51 | virtual video::SColor getFootColor() const =0; |
52 | 52 | ||
53 | //! Returns the color of the tip of the light | 53 | //! Returns the color of the tip of the light |
54 | virtual video::SColor getTailColor() const =0; | 54 | virtual video::SColor getTailColor() const =0; |
55 | }; | 55 | }; |
56 | 56 | ||
57 | } // end namespace scene | 57 | } // end namespace scene |
58 | } // end namespace irr | 58 | } // end namespace irr |
59 | 59 | ||
60 | #endif | 60 | #endif |