Go to the documentation of this file.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
00037 virtual void setSize(f32 height, f32 bottomEdgeWidth, f32 topEdgeWidth) = 0;
00038
00040
00044 virtual const core::dimension2d<f32>& getSize() const = 0;
00045
00047
00051 virtual void getSize(f32& height, f32& bottomEdgeWidth, f32& topEdgeWidth) const =0;
00052
00054
00055 virtual void setColor(const video::SColor& overallColor) = 0;
00056
00058
00060 virtual void setColor(const video::SColor& topColor,
00061 const video::SColor& bottomColor) = 0;
00062
00064
00066 virtual void getColor(video::SColor& topColor,
00067 video::SColor& bottomColor) const = 0;
00068 };
00069
00070 }
00071 }
00072
00073
00074 #endif
00075