Irrlicht 3D Engine: IVolumeLightSceneNode.h Source File

| Irrlicht 3D Engine |

IVolumeLightSceneNode.h
Go to the documentation of this file.

    00001 // Copyright (C) 2002-2012 Nikolaus Gebhardt
    00002 // This file is part of the "Irrlicht Engine".
    00003 // For conditions of distribution and use, see copyright notice in irrlicht.h
    00004 //
    00005 // created by Dean Wadsworth aka Varmint Dec 31 2007
    00006
    00007 #ifndef __I_VOLUME_LIGHT_SCENE_NODE_H_INCLUDED__
    00008 #define __I_VOLUME_LIGHT_SCENE_NODE_H_INCLUDED__
    00009
    00010 #include "ISceneNode.h"
    00011
    00012 namespace irr
    00013 {
    00014 namespace scene
    00015 {
    00016     class IMeshBuffer;
    00017
    00018     class IVolumeLightSceneNode : public ISceneNode
    00019     {
    00020     public:
    00021
    00023         IVolumeLightSceneNode(ISceneNode* parent, ISceneManager* mgr, s32 id,
    00024             const core::vector3df& position,
    00025             const core::vector3df& rotation,
    00026             const core::vector3df& scale)
    00027             : ISceneNode(parent, mgr, id, position, rotation, scale) {};
    00028
    00030         virtual ESCENE_NODE_TYPE getType() const { return ESNT_VOLUME_LIGHT; }
    00031
    00033         virtual void setSubDivideU(const u32 inU) =0;
    00034
    00036         virtual void setSubDivideV(const u32 inV) =0;
    00037
    00039         virtual u32 getSubDivideU() const =0;
    00040
    00042         virtual u32 getSubDivideV() const =0;
    00043
    00045         virtual void setFootColor(const video::SColor inColor) =0;
    00046
    00048         virtual void setTailColor(const video::SColor inColor) =0;
    00049
    00051         virtual video::SColor getFootColor() const =0;
    00052
    00054         virtual video::SColor getTailColor() const =0;
    00055     };
    00056
    00057 } // end namespace scene
    00058 } // end namespace irr
    00059
    00060 #endif