Loading...
Searching...
No Matches
IVolumeLightSceneNode.h
Go to the documentation of this file.
// Copyright (C) 2002-2012 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
//
// created by Dean Wadsworth aka Varmint Dec 31 2007
#ifndef __I_VOLUME_LIGHT_SCENE_NODE_H_INCLUDED__
#define __I_VOLUME_LIGHT_SCENE_NODE_H_INCLUDED__
#include "ISceneNode.h"
namespace irr
{
namespace scene
{
class IMeshBuffer;
class IVolumeLightSceneNode : public ISceneNode
{
public:
IVolumeLightSceneNode(ISceneNode* parent, ISceneManager* mgr, s32 id,
const core::vector3df& position,
const core::vector3df& rotation,
const core::vector3df& scale)
: ISceneNode(parent, mgr, id, position, rotation, scale) {};
virtual ESCENE_NODE_TYPE getType() const { return ESNT_VOLUME_LIGHT; }
virtual void setSubDivideU(const u32 inU) =0;
virtual void setSubDivideV(const u32 inV) =0;
virtual u32 getSubDivideU() const =0;
virtual u32 getSubDivideV() const =0;
virtual void setFootColor(const video::SColor inColor) =0;
virtual void setTailColor(const video::SColor inColor) =0;
virtual video::SColor getFootColor() const =0;
virtual video::SColor getTailColor() const =0;
};
} // end namespace scene
} // end namespace irr
#endif
ISceneNode.h
irr::scene::IMeshBuffer
Struct for holding a mesh with a single material.
Definition IMeshBuffer.h:40
irr::scene::ISceneManager
The Scene Manager manages scene nodes, mesh recources, cameras and all the other stuff.
Definition ISceneManager.h:151
irr::scene::ISceneNode::ISceneNode
ISceneNode(ISceneNode *parent, ISceneManager *mgr, s32 id=-1, const core::vector3df &position=core::vector3df(0, 0, 0), const core::vector3df &rotation=core::vector3df(0, 0, 0), const core::vector3df &scale=core::vector3df(1.0f, 1.0f, 1.0f))
Constructor.
Definition ISceneNode.h:45
irr::scene::IVolumeLightSceneNode::setSubDivideU
virtual void setSubDivideU(const u32 inU)=0
Sets the number of segments across the U axis.
irr::scene::IVolumeLightSceneNode::setTailColor
virtual void setTailColor(const video::SColor inColor)=0
Sets the color of the tip of the light.
irr::scene::IVolumeLightSceneNode::IVolumeLightSceneNode
IVolumeLightSceneNode(ISceneNode *parent, ISceneManager *mgr, s32 id, const core::vector3df &position, const core::vector3df &rotation, const core::vector3df &scale)
constructor
Definition IVolumeLightSceneNode.h:23
irr::scene::IVolumeLightSceneNode::getFootColor
virtual video::SColor getFootColor() const =0
Returns the color of the base of the light.
irr::scene::IVolumeLightSceneNode::setSubDivideV
virtual void setSubDivideV(const u32 inV)=0
Sets the number of segments across the V axis.
irr::scene::IVolumeLightSceneNode::getSubDivideU
virtual u32 getSubDivideU() const =0
Returns the number of segments across the U axis.
irr::scene::IVolumeLightSceneNode::setFootColor
virtual void setFootColor(const video::SColor inColor)=0
Sets the color of the base of the light.
irr::scene::IVolumeLightSceneNode::getTailColor
virtual video::SColor getTailColor() const =0
Returns the color of the tip of the light.
irr::scene::IVolumeLightSceneNode::getType
virtual ESCENE_NODE_TYPE getType() const
Returns type of the scene node.
Definition IVolumeLightSceneNode.h:30
irr::scene::IVolumeLightSceneNode::getSubDivideV
virtual u32 getSubDivideV() const =0
Returns the number of segments across the V axis.
irr::video::SColor
Class representing a 32 bit ARGB color.
Definition SColor.h:202
irr::core::vector3df
vector3d< f32 > vector3df
Typedef for a f32 3d vector.
Definition vector3d.h:445
irr::scene
All scene management can be found in this namespace: Mesh loading, special scene nodes like octrees a...
Definition CDynamicMeshBuffer.h:16
irr::scene::ESCENE_NODE_TYPE
ESCENE_NODE_TYPE
An enumeration for all types of built-in scene nodes.
Definition ESceneNodeTypes.h:20
irr::scene::ESNT_VOLUME_LIGHT
@ ESNT_VOLUME_LIGHT
Volume Light Scene Node.
Definition ESceneNodeTypes.h:82
irr
Everything in the Irrlicht Engine can be found in this namespace.
Definition aabbox3d.h:13
irr::u32
unsigned int u32
32 bit unsigned variable.
Definition irrTypes.h:58
irr::s32
signed int s32
32 bit signed variable.
Definition irrTypes.h:66
- Irrlicht Engine Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on for Irrlicht 3D Engine by Doxygen 1.15.0