Ogre Procedural
0.3.0 unstable
Procedural Geometry & Textures for Ogre3D
|
Recomputes the mesh's UVs based on its projection on a plane. More...
#include <ProceduralMeshModifiers.h>
Public Member Functions | |
PlaneUVModifier () | |
PlaneUVModifier & | setPlaneNormal (const Ogre::Vector3 &planeNormal) |
PlaneUVModifier & | setInputTriangleBuffer (TriangleBuffer *inputTriangleBuffer) |
PlaneUVModifier & | setPlaneCenter (const Ogre::Vector3 &planeCenter) |
PlaneUVModifier & | setPlaneSize (const Ogre::Vector2 &planeSize) |
void | modify () |
Recomputes the mesh's UVs based on its projection on a plane.
Procedural::PlaneUVModifier::PlaneUVModifier | ( | ) |
void Procedural::PlaneUVModifier::modify | ( | ) |
Ogre::InvalidStateException | Input triangle buffer must be set |
PlaneUVModifier& Procedural::PlaneUVModifier::setInputTriangleBuffer | ( | TriangleBuffer * | inputTriangleBuffer | ) |
PlaneUVModifier& Procedural::PlaneUVModifier::setPlaneCenter | ( | const Ogre::Vector3 & | planeCenter | ) |
PlaneUVModifier& Procedural::PlaneUVModifier::setPlaneNormal | ( | const Ogre::Vector3 & | planeNormal | ) |
PlaneUVModifier& Procedural::PlaneUVModifier::setPlaneSize | ( | const Ogre::Vector2 & | planeSize | ) |