A modifier that will generate UV coordinates as they would need to be on a cylinder model. More...
#include <cylinderuvmodifier.h>
Public Member Functions | |
CylinderUVModifier () | |
Blank constructor. | |
virtual | ~CylinderUVModifier () |
Class destructor. | |
virtual String | GetName () const |
Gets the name of this modifier. More... | |
virtual void | Modify (TriangleBuffer &Buffer) |
Alters the generated pixels in a TriangleBuffer. More... | |
CylinderUVModifier & | SetHeight (const Real Height) |
Sets the Height of the cylinder to generate UV's for. More... | |
CylinderUVModifier & | SetRadius (const Real Radius) |
Sets the Radius of the cylinder to generate UV's for. More... | |
Public Member Functions inherited from Mezzanine::Graphics::Procedural::MeshModifier | |
MeshModifier () | |
Blank constructor. | |
virtual | ~MeshModifier () |
Class destructor. | |
Protected Attributes | |
Real | CylinderHeight |
The total height of the cylinder to project the UV's onto. More... | |
Real | CylinderRadius |
The radius of the cylinder to project the UV's onto. More... | |
A modifier that will generate UV coordinates as they would need to be on a cylinder model.
Definition at line 82 of file cylinderuvmodifier.h.
|
virtual |
Gets the name of this modifier.
Implements Mezzanine::Graphics::Procedural::MeshModifier.
Definition at line 116 of file cylinderuvmodifier.cpp.
|
virtual |
Alters the generated pixels in a TriangleBuffer.
Buffer | The buffer to be modified. |
Implements Mezzanine::Graphics::Procedural::MeshModifier.
Definition at line 93 of file cylinderuvmodifier.cpp.
CylinderUVModifier & Mezzanine::Graphics::Procedural::CylinderUVModifier::SetHeight | ( | const Real | Height | ) |
Sets the Height of the cylinder to generate UV's for.
Height | The total height of the cylinder to project the UV's onto. |
Definition at line 122 of file cylinderuvmodifier.cpp.
CylinderUVModifier & Mezzanine::Graphics::Procedural::CylinderUVModifier::SetRadius | ( | const Real | Radius | ) |
Sets the Radius of the cylinder to generate UV's for.
Radius | The radius of the cylinder to project the UV's onto. |
Definition at line 128 of file cylinderuvmodifier.cpp.
|
protected |
The total height of the cylinder to project the UV's onto.
Definition at line 87 of file cylinderuvmodifier.h.
|
protected |
The radius of the cylinder to project the UV's onto.
Definition at line 90 of file cylinderuvmodifier.h.