le3d - LightEngine 3D
A straightforward C++ 3D software engine for real-time graphics
Public Member Functions | Public Attributes | List of all members
LeObjMaterial Class Reference

Contain and manage Wavefront object files materials. More...

#include <objfile.h>

Public Member Functions

 LeObjMaterial ()
 

Public Attributes

char name [LE_OBJ_MAX_NAME+1]
 
LeColor ambient
 
LeColor diffuse
 
LeColor specular
 
float shininess
 
float transparency
 
char texture [LE_OBJ_MAX_NAME+1]
 

Detailed Description

Contain and manage Wavefront object files materials.

Constructor & Destructor Documentation

LeObjMaterial::LeObjMaterial ( )
inline

Member Data Documentation

LeColor LeObjMaterial::ambient

Ambient color of the material

LeColor LeObjMaterial::diffuse

Diffuse color of the material

char LeObjMaterial::name[LE_OBJ_MAX_NAME+1]

Name of the material

float LeObjMaterial::shininess

Shininess factor of the material

LeColor LeObjMaterial::specular

Specular color of the material

char LeObjMaterial::texture[LE_OBJ_MAX_NAME+1]

Name of first texture of the material

float LeObjMaterial::transparency

Transparency factor of the material


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