The GenFaceNormalsProcess computes vertex normals for all vertizes.
More...
Inherits Assimp::BaseProcess.
The GenFaceNormalsProcess computes vertex normals for all vertizes.
§ GenVertexNormalsProcess()
GenVertexNormalsProcess::GenVertexNormalsProcess |
( |
| ) |
|
§ ~GenVertexNormalsProcess()
GenVertexNormalsProcess::~GenVertexNormalsProcess |
( |
| ) |
|
§ Execute()
void GenVertexNormalsProcess::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.
§ GenMeshVertexNormals()
bool GenVertexNormalsProcess::GenMeshVertexNormals |
( |
aiMesh * |
pcMesh, |
|
|
unsigned int |
meshIndex |
|
) |
| |
Computes normals for a specific mesh.
- Parameters
-
pcMesh | Mesh |
meshIndex | Index of the mesh |
- Returns
- true if vertex normals have been computed
§ IsActive()
bool GenVertexNormalsProcess::IsActive |
( |
unsigned int |
pFlags | ) |
const |
|
virtual |
Returns whether the processing step is present in the given flag.
- 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.
§ SetMaxSmoothAngle()
void Assimp::GenVertexNormalsProcess::SetMaxSmoothAngle |
( |
float |
f | ) |
|
|
inline |
§ SetupProperties()
void GenVertexNormalsProcess::SetupProperties |
( |
const Importer * |
pImp | ) |
|
|
virtual |
The documentation for this class was generated from the following files: