Ogre Procedural  0.3.0 unstable
Procedural Geometry & Textures for Ogre3D
Public Member Functions | List of all members
Procedural::PlaneUVModifier Class Reference

Recomputes the mesh's UVs based on its projection on a plane. More...

#include <ProceduralMeshModifiers.h>

Public Member Functions

 PlaneUVModifier ()
 
PlaneUVModifiersetPlaneNormal (const Ogre::Vector3 &planeNormal)
 
PlaneUVModifiersetInputTriangleBuffer (TriangleBuffer *inputTriangleBuffer)
 
PlaneUVModifiersetPlaneCenter (const Ogre::Vector3 &planeCenter)
 
PlaneUVModifiersetPlaneSize (const Ogre::Vector2 &planeSize)
 
void modify ()
 

Detailed Description

Recomputes the mesh's UVs based on its projection on a plane.

Constructor & Destructor Documentation

◆ PlaneUVModifier()

Procedural::PlaneUVModifier::PlaneUVModifier ( )

Member Function Documentation

◆ modify()

void Procedural::PlaneUVModifier::modify ( )
Exceptions
Ogre::InvalidStateExceptionInput triangle buffer must be set

◆ setInputTriangleBuffer()

PlaneUVModifier& Procedural::PlaneUVModifier::setInputTriangleBuffer ( TriangleBuffer inputTriangleBuffer)

◆ setPlaneCenter()

PlaneUVModifier& Procedural::PlaneUVModifier::setPlaneCenter ( const Ogre::Vector3 planeCenter)

◆ setPlaneNormal()

PlaneUVModifier& Procedural::PlaneUVModifier::setPlaneNormal ( const Ogre::Vector3 planeNormal)

◆ setPlaneSize()

PlaneUVModifier& Procedural::PlaneUVModifier::setPlaneSize ( const Ogre::Vector2 planeSize)

The documentation for this class was generated from the following file: