Mesh category is used to create a mesh's vertices, it is created by MeshFactory.
More...
|
static MeshGeneratorSPtr | Create () |
| Creation function, used by Factory. More...
|
|
Mesh category is used to create a mesh's vertices, it is created by MeshFactory.
- Author
- Sylvain DOREMUS
- Version
- 0.7.0
◆ MeshGenerator()
Constructor.
- Parameters
-
[in] | p_eMeshType | The mesh type |
◆ ~MeshGenerator()
virtual Castor3D::MeshGenerator::~MeshGenerator |
( |
| ) |
|
|
virtual |
◆ ComputeNormals()
virtual void Castor3D::MeshGenerator::ComputeNormals |
( |
Mesh & |
p_mesh, |
|
|
bool |
p_reverted = false |
|
) |
| |
|
virtual |
Generates normals and tangents.
- Parameters
-
[in] | p_mesh | The mesh. |
[in] | p_reverted | Tells if the generated tangent space must be inverted. |
◆ Create()
static MeshGeneratorSPtr Castor3D::MeshGenerator::Create |
( |
| ) |
|
|
static |
Creation function, used by Factory.
- Returns
- Cylinder
◆ Generate()
virtual void Castor3D::MeshGenerator::Generate |
( |
Mesh & |
p_mesh, |
|
|
UIntArray const & |
p_faces, |
|
|
RealArray const & |
p_dimensions |
|
) |
| |
|
virtual |
Generates the mesh.
- Parameters
-
[in] | p_mesh | The mesh. |
[in] | p_faces | The faces counts. |
[in] | p_dimensions | The mesh dimensions. |
◆ GetMeshType()
eMESH_TYPE Castor3D::MeshGenerator::GetMeshType |
( |
| ) |
const |
|
inline |
Retrieves the mesh type.
- Returns
- The value
The documentation for this class was generated from the following file: