Rev | Line | |
---|
[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] | 11 | namespace 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.