aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/irrlicht-1.8.1/include/IVolumeLightSceneNode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/others/irrlicht-1.8.1/include/IVolumeLightSceneNode.h')
-rw-r--r--src/others/irrlicht-1.8.1/include/IVolumeLightSceneNode.h60
1 files changed, 60 insertions, 0 deletions
diff --git a/src/others/irrlicht-1.8.1/include/IVolumeLightSceneNode.h b/src/others/irrlicht-1.8.1/include/IVolumeLightSceneNode.h
new file mode 100644
index 0000000..6386112
--- /dev/null
+++ b/src/others/irrlicht-1.8.1/include/IVolumeLightSceneNode.h
@@ -0,0 +1,60 @@
1// Copyright (C) 2002-2012 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// created by Dean Wadsworth aka Varmint Dec 31 2007
6
7#ifndef __I_VOLUME_LIGHT_SCENE_NODE_H_INCLUDED__
8#define __I_VOLUME_LIGHT_SCENE_NODE_H_INCLUDED__
9
10#include "ISceneNode.h"
11
12namespace irr
13{
14namespace scene
15{
16 class IMeshBuffer;
17
18 class IVolumeLightSceneNode : public ISceneNode
19 {
20 public:
21
22 //! constructor
23 IVolumeLightSceneNode(ISceneNode* parent, ISceneManager* mgr, s32 id,
24 const core::vector3df& position,
25 const core::vector3df& rotation,
26 const core::vector3df& scale)
27 : ISceneNode(parent, mgr, id, position, rotation, scale) {};
28
29 //! Returns type of the scene node
30 virtual ESCENE_NODE_TYPE getType() const { return ESNT_VOLUME_LIGHT; }
31
32 //! Sets the number of segments across the U axis
33 virtual void setSubDivideU(const u32 inU) =0;
34
35 //! Sets the number of segments across the V axis
36 virtual void setSubDivideV(const u32 inV) =0;
37
38 //! Returns the number of segments across the U axis
39 virtual u32 getSubDivideU() const =0;
40
41 //! Returns the number of segments across the V axis
42 virtual u32 getSubDivideV() const =0;
43
44 //! Sets the color of the base of the light
45 virtual void setFootColor(const video::SColor inColor) =0;
46
47 //! Sets the color of the tip of the light
48 virtual void setTailColor(const video::SColor inColor) =0;
49
50 //! Returns the color of the base of the light
51 virtual video::SColor getFootColor() const =0;
52
53 //! Returns the color of the tip of the light
54 virtual video::SColor getTailColor() const =0;
55 };
56
57} // end namespace scene
58} // end namespace irr
59
60#endif