CS::Utility::ImportKit::Container::Model Class Reference
A model. More...
#include <cstool/importkit.h>
Public Types | |
| Factory | |
| Model is a mesh factory. | |
| enum | ModelType { Factory, Object } |
| Type of this model. More... | |
| Object | |
| Model is a mesh object. | |
Public Member Functions | |
| const Mesh & | GetMesh (size_t index) const |
| Get a mesh. | |
| size_t | GetMeshCount () const |
| Get number of meshes in this model. | |
| const wchar_t * | GetName () const |
| Return the name of the model. | |
| ModelType | GetType () const |
Protected Member Functions | |
| Model () | |
Protected Attributes | |
| Implementation::GluedModel * | glueModel |
| csArray< Mesh > | meshes |
| wchar_t * | name |
| ModelType | type |
Friends | |
| class | Container |
| class | Implementation::Glue |
Classes | |
| class | Mesh |
| Model mesh, contains actual geometry. More... | |
Detailed Description
A model.A model contains of multiple meshes, each containing vertices, triangles, and a single material.
- Remarks:
- All resources obtainable (models, mesh, materials... but also geometry and names) are generally valid as long as the container exists.
Definition at line 70 of file importkit.h.
Member Enumeration Documentation
| enum CS::Utility::ImportKit::Container::Model::ModelType |
Member Function Documentation
| const Mesh& CS::Utility::ImportKit::Container::Model::GetMesh | ( | size_t | index | ) | const [inline] |
| size_t CS::Utility::ImportKit::Container::Model::GetMeshCount | ( | ) | const [inline] |
| const wchar_t* CS::Utility::ImportKit::Container::Model::GetName | ( | ) | const [inline] |
The documentation for this class was generated from the following file:
- cstool/importkit.h
Generated for Crystal Space 1.2 by doxygen 1.4.7
