Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/orxonox/tools/BillboardSet.h @ 969

Last change on this file since 969 was 871, checked in by landauf, 17 years ago

merged core branch to trunk

File size: 879 bytes
RevLine 
[673]1#ifndef _BillboardSet_H__
2#define _BillboardSet_H__
3
[715]4#include <string>
5
[708]6#include <OgreBillboardSet.h>
[633]7
[708]8#include "../OrxonoxPrereqs.h"
[742]9#include "util/Math.h"
[708]10
[633]11namespace orxonox
12{
[729]13    class _OrxonoxExport BillboardSet
[633]14    {
15        public:
16            BillboardSet();
17            ~BillboardSet();
[715]18            void setBillboardSet(const std::string& file, const ColourValue& colour = ColourValue(1.0, 1.0, 1.0), int count = 1, const Vector3& position = Vector3::ZERO);
[633]19
20            inline Ogre::BillboardSet* getBillboardSet()
21                { return this->billboardSet_; }
22
[715]23            inline const std::string& getName() const
[633]24                { return this->billboardSet_->getName(); }
25
26        private:
27            static unsigned int billboardSetCounter_s;
28            Ogre::BillboardSet* billboardSet_;
29    };
30}
31
[673]32#endif /* _BillboardSet_H__ */
Note: See TracBrowser for help on using the repository browser.