Ogre Procedural
0.3.0 unstable
Procedural Geometry & Textures for Ogre3D
|
WIP. More...
#include <ProceduralMeshModifiers.h>
Public Types | |
enum | NormalComputeMode { NCM_VERTEX, NCM_TRIANGLE } |
Public Member Functions | |
CalculateNormalsModifier () | |
CalculateNormalsModifier & | setComputeMode (NormalComputeMode computeMode) |
CalculateNormalsModifier & | setInputTriangleBuffer (TriangleBuffer *inputTriangleBuffer) |
CalculateNormalsModifier & | setMustWeldUnweldFirst (bool mustWeldUnweldFirst) |
Tells if the mesh must be first weld (NCM_VERTEX mode) or unweld (NCM_TRIANGLE) before computing normals. More... | |
void | modify () |
Public Attributes | |
NormalComputeMode | mComputeMode |
TriangleBuffer * | mInputTriangleBuffer |
bool | mMustWeldUnweldFirst |
WIP.
Procedural::CalculateNormalsModifier::CalculateNormalsModifier | ( | ) |
void Procedural::CalculateNormalsModifier::modify | ( | ) |
CalculateNormalsModifier& Procedural::CalculateNormalsModifier::setComputeMode | ( | NormalComputeMode | computeMode | ) |
CalculateNormalsModifier& Procedural::CalculateNormalsModifier::setInputTriangleBuffer | ( | TriangleBuffer * | inputTriangleBuffer | ) |
CalculateNormalsModifier& Procedural::CalculateNormalsModifier::setMustWeldUnweldFirst | ( | bool | mustWeldUnweldFirst | ) |
Tells if the mesh must be first weld (NCM_VERTEX mode) or unweld (NCM_TRIANGLE) before computing normals.
Has a performance impact if enabled. Default : true.
NormalComputeMode Procedural::CalculateNormalsModifier::mComputeMode |
TriangleBuffer* Procedural::CalculateNormalsModifier::mInputTriangleBuffer |
bool Procedural::CalculateNormalsModifier::mMustWeldUnweldFirst |