|
Ogre Procedural
0.3.0 unstable
Procedural Geometry & Textures for Ogre3D
|
Builds a rectangular shape. More...
#include <ProceduralShapeGenerators.h>
Public Member Functions | |
| RectangleShape () | |
| Default constructor. More... | |
| RectangleShape & | setWidth (Ogre::Real width) |
| Sets width. More... | |
| RectangleShape & | setHeight (Ogre::Real height) |
| Sets height. More... | |
| Shape | realizeShape () |
| Builds the shape. More... | |
Builds a rectangular shape.
| Procedural::RectangleShape::RectangleShape | ( | ) |
Default constructor.
| Shape Procedural::RectangleShape::realizeShape | ( | ) |
Builds the shape.
References Procedural::Shape::addPoint(), and Procedural::Shape::close().
| RectangleShape& Procedural::RectangleShape::setHeight | ( | Ogre::Real | height | ) |
Sets height.
| Ogre::InvalidParametersException | Height must be larger than 0! |
References Ogre::Exception::ERR_INVALIDPARAMS, and OGRE_EXCEPT.
| RectangleShape& Procedural::RectangleShape::setWidth | ( | Ogre::Real | width | ) |
Sets width.
| Ogre::InvalidParametersException | Width must be larger than 0! |
References Ogre::Exception::ERR_INVALIDPARAMS, and OGRE_EXCEPT.
1.8.17