Loading...
Searching...
No Matches
IBillboardTextSceneNode.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
#ifndef __I_BILLBOARD_TEXT_SCENE_NODE_H_INCLUDED__
#define __I_BILLBOARD_TEXT_SCENE_NODE_H_INCLUDED__
#include "IBillboardSceneNode.h"
namespace irr
{
namespace scene
{
class IBillboardTextSceneNode : public IBillboardSceneNode
{
public:
IBillboardTextSceneNode(ISceneNode* parent, ISceneManager* mgr, s32 id,
const core::vector3df& position = core::vector3df(0,0,0))
: IBillboardSceneNode(parent, mgr, id, position) {}
virtual void setSize(const core::dimension2d<f32>& size) = 0;
virtual const core::dimension2d<f32>& getSize() const = 0;
virtual void setColor(const video::SColor & overallColor) = 0;
virtual void setColor(const video::SColor & topColor, const video::SColor & bottomColor) = 0;
virtual void getColor(video::SColor & topColor, video::SColor & bottomColor) const = 0;
virtual void setText(const wchar_t* text) = 0;
virtual void setTextColor(video::SColor color) = 0;
};
} // end namespace scene
} // end namespace irr
#endif
IBillboardSceneNode.h
irr::core::dimension2d
Specifies a 2 dimensional size.
Definition dimension2d.h:21
irr::scene::IBillboardSceneNode::IBillboardSceneNode
IBillboardSceneNode(ISceneNode *parent, ISceneManager *mgr, s32 id, const core::vector3df &position=core::vector3df(0, 0, 0))
Constructor.
Definition IBillboardSceneNode.h:25
irr::scene::IBillboardTextSceneNode::setTextColor
virtual void setTextColor(video::SColor color)=0
sets the color of the text
irr::scene::IBillboardTextSceneNode::setSize
virtual void setSize(const core::dimension2d< f32 > &size)=0
Sets the size of the billboard.
irr::scene::IBillboardTextSceneNode::IBillboardTextSceneNode
IBillboardTextSceneNode(ISceneNode *parent, ISceneManager *mgr, s32 id, const core::vector3df &position=core::vector3df(0, 0, 0))
Constructor.
Definition IBillboardTextSceneNode.h:26
irr::scene::IBillboardTextSceneNode::setColor
virtual void setColor(const video::SColor &overallColor)=0
Set the color of all vertices of the billboard.
irr::scene::IBillboardTextSceneNode::setColor
virtual void setColor(const video::SColor &topColor, const video::SColor &bottomColor)=0
Set the color of the top and bottom vertices of the billboard.
irr::scene::IBillboardTextSceneNode::setText
virtual void setText(const wchar_t *text)=0
sets the text string
irr::scene::IBillboardTextSceneNode::getColor
virtual void getColor(video::SColor &topColor, video::SColor &bottomColor) const =0
Gets the color of the top and bottom vertices of the billboard.
irr::scene::IBillboardTextSceneNode::getSize
virtual const core::dimension2d< f32 > & getSize() const =0
Returns the size of the billboard.
irr::scene::ISceneManager
The Scene Manager manages scene nodes, mesh recources, cameras and all the other stuff.
Definition ISceneManager.h:151
irr::scene::ISceneNode
Scene node interface.
Definition ISceneNode.h:41
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
Everything in the Irrlicht Engine can be found in this namespace.
Definition aabbox3d.h:13
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