|
| Lathe () |
| Class constructor.
|
|
| Lathe (Shape *ToLathe, const Whole Segments) |
| Shape constructor. More...
|
|
| Lathe (MultiShape *ToLathe, const Whole Segments) |
| MultiShape constructor. More...
|
|
virtual | ~Lathe () |
| Class destructor.
|
|
virtual void | AddToTriangleBuffer (TriangleBuffer &Buffer) const |
| Adds the vertices and indices as configured in this generator to a triangle buffer. More...
|
|
Lathe & | SetAngleBegin (const Real Begin) |
| Sets the starting angle for the rotation. More...
|
|
Lathe & | SetAngleEnd (const Real End) |
| Sets the endng angle for the rotation. More...
|
|
Lathe & | SetCapped (const Boole ShapeCapped) |
| Sets whether or not the outside ends of the rotated shape should be enclosed. More...
|
|
Lathe & | SetClosed (const Boole ShapeClosed) |
| Sets whether or not the start and end segments should be connected. More...
|
|
Lathe & | SetMultiShapeToLathe (MultiShape *ToLathe) |
| Sets the MultiShape to to be Lathe'd. More...
|
|
Lathe & | SetNumSegments (const Whole Segments) |
| Sets the number of segments in the rotation to generate. - Exceptions
-
If | the number of segments is being set to a number less than 3, an INVALID_PARAMETERS exception will be thrown. |
More...
|
|
Lathe & | SetShapeToLathe (Shape *ToLathe) |
| Sets the Shape to to be Lathe'd. More...
|
|
| MeshGenerator () |
| Class constructor.
|
|
virtual | ~MeshGenerator () |
| Class destructor.
|
|
TriangleBuffer | BuildTriangleBuffer () const |
| Creates a TriangleBuffer with the the vertices and indices as configured in this generator. More...
|
|
Mesh * | GenerateMesh (const String &MeshName, const String &MeshGroup, const String &MatName, const String &MatGroup) const |
| Generates the mesh. More...
|
|
Lathe & | ResetTransforms () |
| Resets all transforms (orientation, position and scale) that would have been applied to the mesh to their default values. More...
|
|
Lathe & | SetEnableNormals (Boole EnableNormals) |
| Sets whether normals are enabled or not. More...
|
|
Lathe & | SetNumTexCoordSet (const UInt8 NumSets) |
| Sets the number of texture coordintate sets. More...
|
|
Lathe & | SetOrientation (const Quaternion &Ori) |
| Sets an orientation baked into the resulting mesh. More...
|
|
Lathe & | SetOrientation (const Real X, const Real Y, const Real Z, const Real W) |
| Sets an orientation baked into the resulting mesh. More...
|
|
Lathe & | SetPosition (const Vector3 &Loc) |
| Sets a translation baked into the resulting mesh. More...
|
|
Lathe & | SetPosition (const Real X, const Real Y, const Real Z) |
| Sets a translation baked into the resulting mesh. More...
|
|
Lathe & | SetScale (const Vector3 &Scaling) |
| Sets a scale baked into the resulting mesh. More...
|
|
Lathe & | SetScale (const Real Scaling) |
| Sets a uniform scale baked into the resulting mesh. More...
|
|
Lathe & | SetScale (const Real X, const Real Y, const Real Z) |
| Sets a scale baked into the resulting mesh. More...
|
|
Lathe & | SetSwitchUV (Boole SwitchUV) |
| Sets whether to switch U and V texture coordinates. More...
|
|
Lathe & | SetTextureRectangle (const Real RectLeft, const Real RectRight, const Real RectTop, const Real RectBottom) |
| Sets the texture rectangle. More...
|
|
Lathe & | SetUTile (const Real uTile) |
| Sets the U Tile. More...
|
|
Lathe & | SetVTile (const Real vTile) |
| Sets the V Tile. More...
|
|
A generator that produces a Mesh by rotating a 2D shape around the Y axis.
Shapes that are Lathe'd do not need to be closed, and in general are assumed to be defined in the ( X >= 0 ) half-plane. In other words, the Y axis in local space for the generated Mesh will line up with "0" on the X axis in the shape, and be rotated to produce a mesh.
Definition at line 86 of file lathe.h.