Irrlicht 3D Engine
 
Loading...
Searching...
No Matches
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
12namespace irr
13{
14namespace 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
The Scene Manager manages scene nodes, mesh recources, cameras and all the other stuff.
Scene node interface.
Definition ISceneNode.h:41
virtual void setSubDivideU(const u32 inU)=0
Sets the number of segments across the U axis.
virtual void setTailColor(const video::SColor inColor)=0
Sets the color of the tip of the light.
IVolumeLightSceneNode(ISceneNode *parent, ISceneManager *mgr, s32 id, const core::vector3df &position, const core::vector3df &rotation, const core::vector3df &scale)
constructor
virtual video::SColor getFootColor() const =0
Returns the color of the base of the light.
virtual void setSubDivideV(const u32 inV)=0
Sets the number of segments across the V axis.
virtual u32 getSubDivideU() const =0
Returns the number of segments across the U axis.
virtual void setFootColor(const video::SColor inColor)=0
Sets the color of the base of the light.
virtual video::SColor getTailColor() const =0
Returns the color of the tip of the light.
virtual ESCENE_NODE_TYPE getType() const
Returns type of the scene node.
virtual u32 getSubDivideV() const =0
Returns the number of segments across the V axis.
Class representing a 32 bit ARGB color.
Definition SColor.h:202
ESCENE_NODE_TYPE
An enumeration for all types of built-in scene nodes.
@ ESNT_VOLUME_LIGHT
Volume Light Scene Node.
Everything in the Irrlicht Engine can be found in this namespace.
Definition aabbox3d.h:13
unsigned int u32
32 bit unsigned variable.
Definition irrTypes.h:58
signed int s32
32 bit signed variable.
Definition irrTypes.h:66