OgreSimpleShape Class Reference
[Rendering]
#include <OgreSimpleShape.hh>
Detailed Description
Class used to render simple shapesPublic Types | |
enum | Shape { CUBE, ROUNDED_CUBE, CYLINDER, SPHERE } |
Static Public Member Functions | |
static void | CreateSphere (const std::string &name, float radius, int rings, int segments) |
static void | CreateBox (const std::string &name, const Vector3 &sides) |
static void | CreateCylinder (const std::string &name, float radius, float height, int rings, int segments) |
Member Enumeration Documentation
enum Shape |
The type of shape
Member Function Documentation
static void CreateSphere | ( | const std::string & | name, | |
float | radius, | |||
int | rings, | |||
int | segments | |||
) | [static] |
Create a sphere mesh
static void CreateBox | ( | const std::string & | name, | |
const Vector3 & | sides | |||
) | [static] |
Create a Box mesh
static void CreateCylinder | ( | const std::string & | name, | |
float | radius, | |||
float | height, | |||
int | rings, | |||
int | segments | |||
) | [static] |
Create a cylinder mesh
The documentation for this class was generated from the following file: