A modifier that will generate UV coordinates as they would need to be on a plane model. More...
#include <planeuvmodifier.h>
Public Member Functions | |
PlaneUVModifier () | |
Blank constructor. | |
virtual | ~PlaneUVModifier () |
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... | |
PlaneUVModifier & | SetPlaneCenter (const Vector3 &Center) |
Sets the central location of the Plane to project UV's onto. More... | |
PlaneUVModifier & | SetPlaneCenter (const Real X, const Real Y, const Real Z) |
Sets the central location of the Plane to project UV's onto. More... | |
PlaneUVModifier & | SetPlaneNormal (const Vector3 &Normal) |
Sets the facing direction of the Plane to project UV's onto. More... | |
PlaneUVModifier & | SetPlaneNormal (const Real X, const Real Y, const Real Z) |
Sets the facing direction of the Plane to project UV's onto. More... | |
PlaneUVModifier & | SetPlaneSize (const Vector2 &Size) |
Sets the size of the Plane to project UV's onto. More... | |
PlaneUVModifier & | SetPlaneSize (const Real X, const Real Y) |
Sets the size of the Plane to project UV's onto. More... | |
Public Member Functions inherited from Mezzanine::Graphics::Procedural::MeshModifier | |
MeshModifier () | |
Blank constructor. | |
virtual | ~MeshModifier () |
Class destructor. | |
Protected Attributes | |
Vector3 | PlaneCenter |
The location of the center of the Plane. More... | |
Vector3 | PlaneNormal |
The facing direction of the Plane. More... | |
Vector2 | PlaneSize |
The size of the bounded area of the plane. More... | |
A modifier that will generate UV coordinates as they would need to be on a plane model.
Definition at line 82 of file planeuvmodifier.h.
|
virtual |
Gets the name of this modifier.
Implements Mezzanine::Graphics::Procedural::MeshModifier.
Definition at line 99 of file planeuvmodifier.cpp.
|
virtual |
Alters the generated pixels in a TriangleBuffer.
Buffer | The buffer to be modified. |
Implements Mezzanine::Graphics::Procedural::MeshModifier.
Definition at line 87 of file planeuvmodifier.cpp.
PlaneUVModifier & Mezzanine::Graphics::Procedural::PlaneUVModifier::SetPlaneCenter | ( | const Vector3 & | Center | ) |
Sets the central location of the Plane to project UV's onto.
Center | The location of the center of the Plane. |
Definition at line 107 of file planeuvmodifier.cpp.
PlaneUVModifier & Mezzanine::Graphics::Procedural::PlaneUVModifier::SetPlaneCenter | ( | const Real | X, |
const Real | Y, | ||
const Real | Z | ||
) |
Sets the central location of the Plane to project UV's onto.
X | The location of the center of the Plane on the X axis. |
Y | The location of the center of the Plane on the Y axis. |
Z | The location of the center of the Plane on the Z axis. |
Definition at line 113 of file planeuvmodifier.cpp.
PlaneUVModifier & Mezzanine::Graphics::Procedural::PlaneUVModifier::SetPlaneNormal | ( | const Vector3 & | Normal | ) |
Sets the facing direction of the Plane to project UV's onto.
Normal | The facing direction of the Plane. |
Definition at line 119 of file planeuvmodifier.cpp.
PlaneUVModifier & Mezzanine::Graphics::Procedural::PlaneUVModifier::SetPlaneNormal | ( | const Real | X, |
const Real | Y, | ||
const Real | Z | ||
) |
Sets the facing direction of the Plane to project UV's onto.
X | The X component of the directional vector the Plane is facing. |
Y | The Y component of the directional vector the Plane is facing. |
Z | The Z component of the directional vector the Plane is facing. |
Definition at line 125 of file planeuvmodifier.cpp.
PlaneUVModifier & Mezzanine::Graphics::Procedural::PlaneUVModifier::SetPlaneSize | ( | const Vector2 & | Size | ) |
Sets the size of the Plane to project UV's onto.
Size | The size of the bounded area of the Plane. |
Definition at line 131 of file planeuvmodifier.cpp.
PlaneUVModifier & Mezzanine::Graphics::Procedural::PlaneUVModifier::SetPlaneSize | ( | const Real | X, |
const Real | Y | ||
) |
Sets the size of the Plane to project UV's onto.
X | The size of the bounded area of the Plane on the X axis. |
Y | The size of the bounded area of the Plane on the Y axis. |
Definition at line 137 of file planeuvmodifier.cpp.
|
protected |
The location of the center of the Plane.
Definition at line 87 of file planeuvmodifier.h.
|
protected |
The facing direction of the Plane.
Definition at line 90 of file planeuvmodifier.h.
|
protected |
The size of the bounded area of the plane.
Definition at line 93 of file planeuvmodifier.h.