Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials

IBillboardSceneNode.h

Go to the documentation of this file.
00001 // Copyright (C) 2002-2010 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 #ifndef __I_BILLBOARD_SCENE_NODE_H_INCLUDED__
00006 #define __I_BILLBOARD_SCENE_NODE_H_INCLUDED__
00007 
00008 #include "ISceneNode.h"
00009 
00010 namespace irr
00011 {
00012 namespace scene
00013 {
00014 
00016 
00020 class IBillboardSceneNode : public ISceneNode
00021 {
00022 public:
00023 
00025         IBillboardSceneNode(ISceneNode* parent, ISceneManager* mgr, s32 id,
00026                 const core::vector3df& position = core::vector3df(0,0,0))
00027                 : ISceneNode(parent, mgr, id, position) {}
00028 
00030         virtual void setSize(const core::dimension2d<f32>& size) = 0;
00031 
00033         virtual const core::dimension2d<f32>& getSize() const = 0;
00034 
00036 
00037         virtual void setColor(const video::SColor & overallColor) = 0;
00038 
00040 
00042         virtual void setColor(const video::SColor & topColor, const video::SColor & bottomColor) = 0;
00043 
00045 
00047         virtual void getColor(video::SColor & topColor, video::SColor & bottomColor) const = 0;
00048 };
00049 
00050 } // end namespace scene
00051 } // end namespace irr
00052 
00053 
00054 #endif
00055 

The Irrlicht Engine
The Irrlicht Engine Documentation © 2003-2010 by Nikolaus Gebhardt. Generated on Sun Oct 24 12:41:56 2010 by Doxygen (1.6.2)