67 #ifndef _graphicsproceduralplaneuvmodifier_cpp
68 #define _graphicsproceduralplaneuvmodifier_cpp
70 #include "Graphics/Procedural/Mesh/planeuvmodifier.h"
101 return "PlaneUVModifier";
Vector2 PlaneSize
The size of the bounded area of the plane.
Vector3 Perpendicular() const
Gets a vector that is perpendicular to this one.
Vector3 CrossProduct(const Vector3 &Vec) const
This is used to calculate the crossproduct of this and another vector.
VertexContainer::iterator VertexIterator
Iterator type for Vertex instances in a VertexContainer.
Real X
Coordinate on the X vector.
A convenience buffer that stores vertices and indices of a mesh to be generated.
Vector3 PlaneCenter
The location of the center of the Plane.
virtual ~PlaneUVModifier()
Class destructor.
PlaneUVModifier & SetPlaneCenter(const Vector3 &Center)
Sets the central location of the Plane to project UV's onto.
VertexContainer & GetVertices()
Gets a modifiable reference to Vertices.
float Real
A Datatype used to represent a real floating point number.
PlaneUVModifier & SetPlaneSize(const Vector2 &Size)
Sets the size of the Plane to project UV's onto.
virtual String GetName() const
Gets the name of this modifier.
This is used to represent a point on a 2 dimentional area, such as a screen.
void SetValues(const Real &x, const Real &y)
Sets the X and Y values of this vector2.
void SetValues(const Real &X, const Real &Y, const Real &Z)
Manually sets all the members of this vector3.
Real DotProduct(const Vector3 &Vec) const
This is used to calculate the dotproduct of this and another vector.
PlaneUVModifier & SetPlaneNormal(const Vector3 &Normal)
Sets the facing direction of the Plane to project UV's onto.
This is used to represent a point in space, or a vector through space.
The bulk of the engine components go in this namspace.
A modifier that will generate UV coordinates as they would need to be on a plane model.
Vector3 PlaneNormal
The facing direction of the Plane.
virtual void Modify(TriangleBuffer &Buffer)
Alters the generated pixels in a TriangleBuffer.
std::string String
A datatype used to a series of characters.
PlaneUVModifier()
Blank constructor.