A modifier that will generate UV coordinates as they would need to be on a hemisphere model. More...
#include <hemisphereuvmodifier.h>
Public Member Functions | |
HemisphereUVModifier () | |
Blank constructor. | |
virtual | ~HemisphereUVModifier () |
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... | |
HemisphereUVModifier & | SetInnerHemisphereQuad (const RealRect &Inner) |
Sets the texture bounds for the inside of the hemisphere. More... | |
HemisphereUVModifier & | SetOuterHemisphereQuad (const RealRect &Outer) |
Sets the texture bounds for the outside of the hemisphere. More... | |
Public Member Functions inherited from Mezzanine::Graphics::Procedural::MeshModifier | |
MeshModifier () | |
Blank constructor. | |
virtual | ~MeshModifier () |
Class destructor. | |
Protected Attributes | |
RealRect | InnerHemisphereQuad |
The bounds of the texture atlas that is to be applied to the under part of the hemisphere. More... | |
RealRect | OuterHemisphereQuad |
The bounds of the texture atlas that is to be applied to the top part of the hemisphere. More... | |
A modifier that will generate UV coordinates as they would need to be on a hemisphere model.
Definition at line 84 of file hemisphereuvmodifier.h.
|
virtual |
Gets the name of this modifier.
Implements Mezzanine::Graphics::Procedural::MeshModifier.
Definition at line 116 of file hemisphereuvmodifier.cpp.
|
virtual |
Alters the generated pixels in a TriangleBuffer.
Buffer | The buffer to be modified. |
Implements Mezzanine::Graphics::Procedural::MeshModifier.
Definition at line 89 of file hemisphereuvmodifier.cpp.
HemisphereUVModifier & Mezzanine::Graphics::Procedural::HemisphereUVModifier::SetInnerHemisphereQuad | ( | const RealRect & | Inner | ) |
Sets the texture bounds for the inside of the hemisphere.
Inner | The bounds of the texture atlas that is to be applied to the under part of the hemisphere. |
Definition at line 128 of file hemisphereuvmodifier.cpp.
HemisphereUVModifier & Mezzanine::Graphics::Procedural::HemisphereUVModifier::SetOuterHemisphereQuad | ( | const RealRect & | Outer | ) |
Sets the texture bounds for the outside of the hemisphere.
Outer | The bounds of the texture atlas that is to be applied to the top part of the hemisphere. |
Definition at line 122 of file hemisphereuvmodifier.cpp.
|
protected |
The bounds of the texture atlas that is to be applied to the under part of the hemisphere.
Definition at line 92 of file hemisphereuvmodifier.h.
|
protected |
The bounds of the texture atlas that is to be applied to the top part of the hemisphere.
Definition at line 89 of file hemisphereuvmodifier.h.