The CalcTangentsProcess calculates the tangent and bitangent for any vertex of all meshes.
More...
Inherits Assimp::BaseProcess.
The CalcTangentsProcess calculates the tangent and bitangent for any vertex of all meshes.
It is expected to be run before the JoinVerticesProcess runs because the joining of vertices also considers tangents and bitangents for uniqueness.
§ CalcTangentsProcess()
CalcTangentsProcess::CalcTangentsProcess |
( |
| ) |
|
§ ~CalcTangentsProcess()
CalcTangentsProcess::~CalcTangentsProcess |
( |
| ) |
|
§ Execute()
void CalcTangentsProcess::Execute |
( |
aiScene * |
pScene | ) |
|
|
protectedvirtual |
Executes the post processing step on the given imported data.
- Parameters
-
pScene | The imported data to work at. |
Implements Assimp::BaseProcess.
§ IsActive()
bool CalcTangentsProcess::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.
§ ProcessMesh()
bool CalcTangentsProcess::ProcessMesh |
( |
aiMesh * |
pMesh, |
|
|
unsigned int |
meshIndex |
|
) |
| |
|
protected |
Calculates tangents and bitangents for a specific mesh.
- Parameters
-
pMesh | The mesh to process. |
meshIndex | Index of the mesh |
§ SetMaxSmoothAngle()
void Assimp::CalcTangentsProcess::SetMaxSmoothAngle |
( |
float |
f | ) |
|
|
inline |
§ SetupProperties()
void CalcTangentsProcess::SetupProperties |
( |
const Importer * |
pImp | ) |
|
|
virtual |
The documentation for this class was generated from the following files: