|
IrrlichtEngine
|
00001 // Copyright (C) 2002-2011 Nikolaus Gebhardt 00002 // This file is part of the "Irrlicht Engine". 00003 // For conditions of distribution and use, see copyright notice in irrlicht.h 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 00036 virtual void setWidths(f32 startEdgeWidth, f32 endEdgeWidth) = 0; 00037 00039 00043 virtual const core::dimension2d<f32>& getSize() const = 0; 00044 00046 00049 virtual void getWidths(f32& startEdgeWidth, f32& endEdgeWidth) const =0; 00050 00052 00053 virtual void setColor(const video::SColor& overallColor) = 0; 00054 00056 00058 virtual void setColor(const video::SColor& topColor, 00059 const video::SColor& bottomColor) = 0; 00060 00062 00064 virtual void getColor(video::SColor& topColor, 00065 video::SColor& bottomColor) const = 0; 00066 }; 00067 00068 } // end namespace scene 00069 } // end namespace irr 00070 00071 00072 #endif 00073