ComputeUVMappingProcess - converts special mappings, such as spherical, cylindrical or boxed to proper UV coordinates for rendering.
More...
Inherits Assimp::BaseProcess.
ComputeUVMappingProcess - converts special mappings, such as spherical, cylindrical or boxed to proper UV coordinates for rendering.
◆ ComputeUVMappingProcess()
ComputeUVMappingProcess::ComputeUVMappingProcess |
( |
| ) |
|
◆ ~ComputeUVMappingProcess()
ComputeUVMappingProcess::~ComputeUVMappingProcess |
( |
| ) |
|
◆ ComputeBoxMapping()
void ComputeUVMappingProcess::ComputeBoxMapping |
( |
aiMesh * |
mesh, |
|
|
aiVector3D * |
out |
|
) |
| |
|
protected |
Computes cubic UV coordinates for a mesh.
- Parameters
-
mesh | Mesh to be processed |
out | Receives output UV coordinates |
◆ ComputeCylinderMapping()
Computes cylindrical UV coordinates for a mesh.
- Parameters
-
mesh | Mesh to be processed |
axis | Main axis |
out | Receives output UV coordinates |
◆ ComputePlaneMapping()
Computes planar UV coordinates for a mesh.
- Parameters
-
mesh | Mesh to be processed |
axis | Main axis |
out | Receives output UV coordinates |
◆ ComputeSphereMapping()
Computes spherical UV coordinates for a mesh.
- Parameters
-
mesh | Mesh to be processed |
axis | Main axis |
out | Receives output UV coordinates |
◆ Execute()
void ComputeUVMappingProcess::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.
◆ IsActive()
bool ComputeUVMappingProcess::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.
The documentation for this class was generated from the following files: