| Line | |
|---|
| 1 | #ifndef _BillboardSet_H__ |
|---|
| 2 | #define _BillboardSet_H__ |
|---|
| 3 | |
|---|
| 4 | #include <string> |
|---|
| 5 | |
|---|
| 6 | #include <OgreBillboardSet.h> |
|---|
| 7 | |
|---|
| 8 | #include "../OrxonoxPrereqs.h" |
|---|
| 9 | #include "util/Math.h" |
|---|
| 10 | |
|---|
| 11 | namespace orxonox |
|---|
| 12 | { |
|---|
| 13 | class _OrxonoxExport BillboardSet |
|---|
| 14 | { |
|---|
| 15 | public: |
|---|
| 16 | BillboardSet(); |
|---|
| 17 | ~BillboardSet(); |
|---|
| 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); |
|---|
| 19 | |
|---|
| 20 | inline Ogre::BillboardSet* getBillboardSet() |
|---|
| 21 | { return this->billboardSet_; } |
|---|
| 22 | |
|---|
| 23 | inline const std::string& getName() const |
|---|
| 24 | { return this->billboardSet_->getName(); } |
|---|
| 25 | |
|---|
| 26 | private: |
|---|
| 27 | static unsigned int billboardSetCounter_s; |
|---|
| 28 | Ogre::BillboardSet* billboardSet_; |
|---|
| 29 | }; |
|---|
| 30 | } |
|---|
| 31 | |
|---|
| 32 | #endif /* _BillboardSet_H__ */ |
|---|
Note: See
TracBrowser
for help on using the repository browser.