Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials
IBillboardSceneNode.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2010 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 #ifndef __I_BILLBOARD_SCENE_NODE_H_INCLUDED__
6 #define __I_BILLBOARD_SCENE_NODE_H_INCLUDED__
7 
8 #include "ISceneNode.h"
9 
10 namespace irr
11 {
12 namespace scene
13 {
14 
16 
21 {
22 public:
23 
26  const core::vector3df& position = core::vector3df(0,0,0))
27  : ISceneNode(parent, mgr, id, position) {}
28 
30  virtual void setSize(const core::dimension2d<f32>& size) = 0;
31 
33  virtual const core::dimension2d<f32>& getSize() const = 0;
34 
36 
37  virtual void setColor(const video::SColor & overallColor) = 0;
38 
40 
42  virtual void setColor(const video::SColor & topColor, const video::SColor & bottomColor) = 0;
43 
45 
47  virtual void getColor(video::SColor & topColor, video::SColor & bottomColor) const = 0;
48 };
49 
50 } // end namespace scene
51 } // end namespace irr
52 
53 
54 #endif
55 

The Irrlicht Engine
The Irrlicht Engine Documentation © 2003-2010 by Nikolaus Gebhardt. Generated on Fri Mar 21 2014 04:40:16 by Doxygen (1.8.1.2)