00001
00002
00003
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 }
00051 }
00052
00053
00054 #endif
00055