Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
castor3d::CmshMeshImporter Class Reference

#include <CmshImporter.hpp>

Inheritance diagram for castor3d::CmshMeshImporter:
Inheritance graph
[legend]
Collaboration diagram for castor3d::CmshMeshImporter:
Collaboration graph
[legend]

Public Member Functions

C3D_API CmshMeshImporter (Engine &engine)
 Constructor.
 
- Public Member Functions inherited from castor3d::MeshImporter
virtual ~MeshImporter ()=default
 
C3D_API MeshImporter (Engine &engine)
 Constructor.
 
C3D_API bool import (Mesh &mesh, ImporterFile *file, Parameters const &parameters, bool forceImport)
 Mesh import Function.
 
- Public Member Functions inherited from castor::OwnedBy< Engine >
Engine * getOwner () const
 

Static Public Member Functions

static MeshImporterUPtr create (Engine &engine)
 Creator function.
 
- Static Public Member Functions inherited from castor3d::MeshImporter
static C3D_API bool import (Mesh &mesh, castor::Path const &pathFile, Parameters const &parameters, bool forceImport)
 Mesh import Function.
 

Static Public Attributes

static castor::String const Type
 

Protected Member Functions

C3D_API bool doImportMesh (Mesh &mesh) override
 Mesh import Function.
 
- Protected Member Functions inherited from castor::OwnedBy< Engine >
 OwnedBy (Engine &owner)
 Constructor.
 

Additional Inherited Members

- Protected Attributes inherited from castor3d::MeshImporter
ImporterFilem_file {}
 
MeshPtrStrMap m_meshes
 
Parameters m_parameters
 

Constructor & Destructor Documentation

◆ CmshMeshImporter()

C3D_API castor3d::CmshMeshImporter::CmshMeshImporter ( Engine & engine)
explicit

Constructor.

Parameters
[in]engineThe core engine.

Member Function Documentation

◆ create()

static MeshImporterUPtr castor3d::CmshMeshImporter::create ( Engine & engine)
static

Creator function.

Parameters
[in]engineThe core engine.

◆ doImportMesh()

C3D_API bool castor3d::CmshMeshImporter::doImportMesh ( Mesh & mesh)
overrideprotectedvirtual

Mesh import Function.

Parameters
[out]meshReceives the imported data.
Returns
false if any problem occured.

Implements castor3d::MeshImporter.

Member Data Documentation

◆ Type

castor::String const castor3d::CmshMeshImporter::Type
static

The documentation for this class was generated from the following file: