DubiousEngine  0.2.0
Simple Game Engine
Dubious::Utility::Ac3d_file Class Reference

Abstraction of the AC3D File. More...

#include <Ac3d_file_reader.h>

Public Member Functions

 Ac3d_file (std::vector< Ac3d_material > &&materials, std::unique_ptr< const Ac3d_model > model)
 Constructor - saves the specified Model and Materials. More...
 
 Ac3d_file (const Ac3d_file &)=delete
 
Ac3d_fileoperator= (const Ac3d_file &)=delete
 
std::shared_ptr< const Ac3d_modelmodel () const
 Accessor - the Model itself. More...
 
const std::vector< Ac3d_material > & materials () const
 Accessor - the materials used in the model. More...
 

Detailed Description

Abstraction of the AC3D File.

The AC3DFile class is meant to represent all of the information stored in an AC3D file. This means the material information as well as the model.

Constructor & Destructor Documentation

Dubious::Utility::Ac3d_file::Ac3d_file ( std::vector< Ac3d_material > &&  materials,
std::unique_ptr< const Ac3d_model model 
)
inline

Constructor - saves the specified Model and Materials.

Parameters
materials- [in] Materials vector
model- [in] the model
Dubious::Utility::Ac3d_file::Ac3d_file ( const Ac3d_file )
delete

Member Function Documentation

const std::vector<Ac3d_material>& Dubious::Utility::Ac3d_file::materials ( ) const
inline

Accessor - the materials used in the model.

std::shared_ptr<const Ac3d_model> Dubious::Utility::Ac3d_file::model ( ) const
inline

Accessor - the Model itself.

Ac3d_file& Dubious::Utility::Ac3d_file::operator= ( const Ac3d_file )
delete

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