Nirtcpp 2.1.0
Nirtcpp is a high-performance c++ graphics engine.
Loading...
Searching...
No Matches
IVolumeLightSceneNode.hpp
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 nirtcpp/nirtcpp.hpp
4//
5// created by Dean Wadsworth aka Varmint Dec 31 2007
6
7#ifndef NIRT_I_VOLUME_LIGHT_SCENE_NODE_HPP_INCLUDED
8#define NIRT_I_VOLUME_LIGHT_SCENE_NODE_HPP_INCLUDED
9
10#include <nirtcpp/core/engine/ISceneNode.hpp>
11
12namespace nirt
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 override { 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 nirt
59
60#endif
The Scene Manager manages scene nodes, mesh resources, cameras and all the other stuff.
Definition ISceneManager.hpp:160
Scene node interface.
Definition ISceneNode.hpp:43
Definition IVolumeLightSceneNode.hpp:19
virtual video::SColor getFootColor() const =0
Returns the color of the base 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 setTailColor(const video::SColor inColor)=0
Sets the color of the tip of the light.
virtual video::SColor getTailColor() const =0
Returns the color of the tip of the light.
virtual void setSubDivideU(const u32 inU)=0
Sets the number of segments across the U axis.
virtual u32 getSubDivideV() const =0
Returns the number of segments across the V axis.
IVolumeLightSceneNode(ISceneNode *parent, ISceneManager *mgr, s32 id, const core::vector3df &position, const core::vector3df &rotation, const core::vector3df &scale)
constructor
Definition IVolumeLightSceneNode.hpp:23
virtual ESCENE_NODE_TYPE getType() const override
Returns type of the scene node.
Definition IVolumeLightSceneNode.hpp:30
virtual void setSubDivideV(const u32 inV)=0
Sets the number of segments across the V axis.
Class representing a 32 bit ARGB color.
Definition SColor.hpp:317
ESCENE_NODE_TYPE
An enumeration for all types of built-in scene nodes.
Definition ESceneNodeTypes.hpp:20
@ ESNT_VOLUME_LIGHT
Volume Light Scene Node.
Definition ESceneNodeTypes.hpp:85
As of Nirtcpp 1.6, position2d is a synonym for vector2d.
Definition vector3d.hpp:11
signed int s32
32 bit signed variable.
Definition irrTypes.hpp:72
unsigned int u32
32 bit unsigned variable.
Definition irrTypes.hpp:64

Nirtcpp    @cppfx.xyz

Esvcpp    esv::print