62 public:
Grid(
Scene *_scene, uint32_t _cellCount,
float _cellLength,
75 public:
void Enable(
bool _enable);
79 public: Ogre::SceneNode *
GetSceneNode() {
return this->sceneNode; }
83 public:
void SetUserData(
const Ogre::Any &_data);
95 public:
void SetCellCount(uint32_t _count);
102 public:
void SetCellLength(
float _len);
110 public:
void SetLineWidth(
float _width);
118 public:
void SetHeight(uint32_t _count);
122 public: uint32_t
GetHeight()
const {
return this->height;}
124 private:
void Create();
126 private: Ogre::SceneNode *sceneNode;
127 private: Ogre::ManualObject *manualObject;
129 private: Ogre::MaterialPtr material;
131 private:
unsigned int cellCount;
132 private:
float cellLength;
133 private:
float lineWidth;
135 private:
float heightOffset;
137 private: std::string name;
138 private:
unsigned int height;
140 private:
Scene *scene;