The FixInfacingNormalsProcess tries to determine whether the normal vectors of an object are facing inwards.
More...
Inherits Assimp::BaseProcess.
The FixInfacingNormalsProcess tries to determine whether the normal vectors of an object are facing inwards.
In this case they will be flipped.
FixInfacingNormalsProcess::FixInfacingNormalsProcess |
( |
| ) |
|
FixInfacingNormalsProcess::~FixInfacingNormalsProcess |
( |
| ) |
|
void FixInfacingNormalsProcess::Execute |
( |
aiScene * |
pScene | ) |
|
|
virtual |
Executes the post processing step on the given imported data.
At the moment a process is not supposed to fail.
- Parameters
-
pScene | The imported data to work at. |
Implements Assimp::BaseProcess.
bool FixInfacingNormalsProcess::IsActive |
( |
unsigned int |
pFlags | ) |
const |
|
virtual |
Returns whether the processing step is present in the given flag field.
- Parameters
-
pFlags | The processing flags the importer was called with. A bitwise combination of aiPostProcessSteps. |
- Returns
- true if the process is present in this flag fields, false if not.
Implements Assimp::BaseProcess.
bool FixInfacingNormalsProcess::ProcessMesh |
( |
aiMesh * |
pMesh, |
|
|
unsigned int |
index |
|
) |
| |
|
protected |
Executes the step on the given mesh.
- Parameters
-
pMesh | The mesh to process. |
The documentation for this class was generated from the following files: