Irrlicht 3D Engine
 
Loading...
Searching...
No Matches
IBillboardTextSceneNode.h
Go to the documentation of this file.
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 irrlicht.h
4
5#ifndef __I_BILLBOARD_TEXT_SCENE_NODE_H_INCLUDED__
6#define __I_BILLBOARD_TEXT_SCENE_NODE_H_INCLUDED__
7
9
10namespace irr
11{
12namespace scene
13{
14
16
22{
23public:
24
27 const core::vector3df& position = core::vector3df(0,0,0))
28 : IBillboardSceneNode(parent, mgr, id, position) {}
29
31 virtual void setSize(const core::dimension2d<f32>& size) = 0;
32
34 virtual const core::dimension2d<f32>& getSize() const = 0;
35
37
38 virtual void setColor(const video::SColor & overallColor) = 0;
39
41
43 virtual void setColor(const video::SColor & topColor, const video::SColor & bottomColor) = 0;
44
46
48 virtual void getColor(video::SColor & topColor, video::SColor & bottomColor) const = 0;
49
51 virtual void setText(const wchar_t* text) = 0;
52
54 virtual void setTextColor(video::SColor color) = 0;
55};
56
57} // end namespace scene
58} // end namespace irr
59
60
61#endif
62
Axis aligned bounding box in 3d dimensional space.
Definition aabbox3d.h:22
virtual void setTextColor(video::SColor color)=0
sets the color of the text
virtual void setSize(const core::dimension2d< f32 > &size)=0
Sets the size of the billboard.
IBillboardTextSceneNode(ISceneNode *parent, ISceneManager *mgr, s32 id, const core::vector3df &position=core::vector3df(0, 0, 0))
Constructor.
virtual void setColor(const video::SColor &overallColor)=0
Set the color of all vertices of the billboard.
virtual void setColor(const video::SColor &topColor, const video::SColor &bottomColor)=0
Set the color of the top and bottom vertices of the billboard.
virtual void setText(const wchar_t *text)=0
sets the text string
virtual void getColor(video::SColor &topColor, video::SColor &bottomColor) const =0
Gets the color of the top and bottom vertices of the billboard.
virtual const core::dimension2d< f32 > & getSize() const =0
Returns the size of the billboard.
The Scene Manager manages scene nodes, mesh recources, cameras and all the other stuff.
Scene node interface.
Definition ISceneNode.h:41
Class representing a 32 bit ARGB color.
Definition SColor.h:202
Everything in the Irrlicht Engine can be found in this namespace.
Definition aabbox3d.h:13
signed int s32
32 bit signed variable.
Definition irrTypes.h:66