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

A Material in an AC3D file. More...

#include <Ac3d_file_reader.h>

Classes

struct  Color
 A simple 3 channel color. More...
 

Public Member Functions

 Ac3d_material (const Color &color)
 Constructor - creates a material from the specified color. More...
 
const Colorcolor () const
 Accessor - the material color. More...
 

Detailed Description

A Material in an AC3D file.

The AC3DMaterial object actually contains a lot of information about color and lighting. However at this point I'm only interested in the base color, so that's all I store.

Constructor & Destructor Documentation

Dubious::Utility::Ac3d_material::Ac3d_material ( const Color color)
inline

Constructor - creates a material from the specified color.

Parameters
color- [in] the color of the material

Member Function Documentation

const Color& Dubious::Utility::Ac3d_material::color ( ) const
inline

Accessor - the material color.


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