Base class for procedurally generating lathe-based meshes (rotational geometry).
More...
#include <Primitive/LatheMesh/CLatheMesh.h>
|
| CMesh * | getMesh () |
| | Get the generated mesh.
|
|
void | drawOutline () |
| | Draw the rotational outline using debug lines.
|
|
| void | initLatheMesh (CMaterial *material, bool tangent) |
| | Initialize the lathe mesh by rotating the outline around the Y-axis.
|
Base class for procedurally generating lathe-based meshes (rotational geometry).
◆ getMesh()
| CMesh * Skylicht::CLatheMesh::getMesh |
( |
| ) |
|
|
inline |
Get the generated mesh.
- Returns
- Pointer to CMesh.
◆ initLatheMesh()
| void Skylicht::CLatheMesh::initLatheMesh |
( |
CMaterial * | material, |
|
|
bool | tangent ) |
|
protected |
Initialize the lathe mesh by rotating the outline around the Y-axis.
- Parameters
-
| material | Pointer to the material to apply. |
| tangent | True to generate tangent vertices for normal mapping. |
The documentation for this class was generated from the following file: