Irrlicht 3D Engine
IVolumeLightSceneNode.h
Go to the documentation of this file.
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 
12 namespace irr
13 {
14 namespace scene
15 {
16  class IMeshBuffer;
17 
19  {
20  public:
21 
24  const core::vector3df& position,
25  const core::vector3df& rotation,
26  const core::vector3df& scale)
27  : ISceneNode(parent, mgr, id, position, rotation, scale) {};
28 
30  virtual ESCENE_NODE_TYPE getType() const { return ESNT_VOLUME_LIGHT; }
31 
33  virtual void setSubDivideU(const u32 inU) =0;
34 
36  virtual void setSubDivideV(const u32 inV) =0;
37 
39  virtual u32 getSubDivideU() const =0;
40 
42  virtual u32 getSubDivideV() const =0;
43 
45  virtual void setFootColor(const video::SColor inColor) =0;
46 
48  virtual void setTailColor(const video::SColor inColor) =0;
49 
51  virtual video::SColor getFootColor() const =0;
52 
54  virtual video::SColor getTailColor() const =0;
55  };
56 
57 } // end namespace scene
58 } // end namespace irr
59 
60 #endif
virtual void setTailColor(const video::SColor inColor)=0
Sets the color of the tip of the light.
virtual void setFootColor(const video::SColor inColor)=0
Sets the color of the base of the light.
virtual u32 getSubDivideU() const =0
Returns the number of segments across the U axis.
virtual void setSubDivideU(const u32 inU)=0
Sets the number of segments across the U axis.
Scene node interface.
Definition: ISceneNode.h:40
virtual void setSubDivideV(const u32 inV)=0
Sets the number of segments across the V axis.
Everything in the Irrlicht Engine can be found in this namespace.
Definition: aabbox3d.h:12
IVolumeLightSceneNode(ISceneNode *parent, ISceneManager *mgr, s32 id, const core::vector3df &position, const core::vector3df &rotation, const core::vector3df &scale)
constructor
Volume Light Scene Node.
virtual video::SColor getTailColor() const =0
Returns the color of the tip of the light.
virtual video::SColor getFootColor() const =0
Returns the color of the base of the light.
signed int s32
32 bit signed variable.
Definition: irrTypes.h:70
unsigned int u32
32 bit unsigned variable.
Definition: irrTypes.h:62
ESCENE_NODE_TYPE
An enumeration for all types of built-in scene nodes.
Class representing a 32 bit ARGB color.
Definition: SColor.h:314
virtual ESCENE_NODE_TYPE getType() const
Returns type of the scene node.
The Scene Manager manages scene nodes, mesh resources, cameras and all the other stuff.
virtual u32 getSubDivideV() const =0
Returns the number of segments across the V axis.