Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Material3DS Class Reference
Inheritance diagram for Material3DS:
Object3DS

List of all members.

Public Member Functions

 Material3DS ()
virtual ~Material3DS ()
DWORD GetID ()
TextureMapGetTextureMap1 ()
TextureMapGetTextureMap2 ()
TextureMapGetOpacityMap ()
TextureMapGetSpecularMap ()
TextureMapGetBumpMap ()
TextureMapGetReflectionMap ()
ColorValue GetAmbientColor ()
ColorValue GetDiffuseColor ()
ColorValue GetSpecularColor ()
float GetShininess ()
float GetTransparency ()
DWORD GetShadingType ()
void SetID (DWORD value)
void SetAmbientColor (const ColorValue &color)
void SetDiffuseColor (const ColorValue &color)
void SetSpecularColor (const ColorValue &color)
void SetShininess (float value)
void SetTransparency (float value)
void SetShadingType (DWORD shading)
- Public Member Functions inherited from Object3DS
 Object3DS ()
virtual ~Object3DS ()
virtual const char * GetName ()
virtual bool IsObject (const char *name)

Protected Attributes

int id
TextureMap texMap1
TextureMap texMap2
TextureMap opacMap
TextureMap refTextureMap
TextureMap bumpMap
TextureMap specMap
ColorValue ambient
ColorValue diffuse
ColorValue specular
float shininess
float transparency
DWORD shading
- Protected Attributes inherited from Object3DS
Text name

Detailed Description

Definition at line 86 of file M3DS.cpp.


Constructor & Destructor Documentation

Material3DS::Material3DS ( )
virtual Material3DS::~Material3DS ( )
virtual

Member Function Documentation

ColorValue Material3DS::GetAmbientColor ( )
TextureMap& Material3DS::GetBumpMap ( )
ColorValue Material3DS::GetDiffuseColor ( )
DWORD Material3DS::GetID ( )
TextureMap& Material3DS::GetOpacityMap ( )
TextureMap& Material3DS::GetReflectionMap ( )
DWORD Material3DS::GetShadingType ( )
float Material3DS::GetShininess ( )
ColorValue Material3DS::GetSpecularColor ( )
TextureMap& Material3DS::GetSpecularMap ( )
TextureMap& Material3DS::GetTextureMap1 ( )
TextureMap& Material3DS::GetTextureMap2 ( )
float Material3DS::GetTransparency ( )
void Material3DS::SetAmbientColor ( const ColorValue color)
void Material3DS::SetDiffuseColor ( const ColorValue color)
void Material3DS::SetID ( DWORD  value)
void Material3DS::SetShadingType ( DWORD  shading)
void Material3DS::SetShininess ( float  value)
void Material3DS::SetSpecularColor ( const ColorValue color)
void Material3DS::SetTransparency ( float  value)

Member Data Documentation

ColorValue Material3DS::ambient
protected

Definition at line 126 of file M3DS.cpp.

TextureMap Material3DS::bumpMap
protected

Definition at line 124 of file M3DS.cpp.

ColorValue Material3DS::diffuse
protected

Definition at line 127 of file M3DS.cpp.

int Material3DS::id
protected

Definition at line 119 of file M3DS.cpp.

TextureMap Material3DS::opacMap
protected

Definition at line 122 of file M3DS.cpp.

TextureMap Material3DS::refTextureMap
protected

Definition at line 123 of file M3DS.cpp.

DWORD Material3DS::shading
protected

Definition at line 131 of file M3DS.cpp.

float Material3DS::shininess
protected

Definition at line 129 of file M3DS.cpp.

TextureMap Material3DS::specMap
protected

Definition at line 125 of file M3DS.cpp.

ColorValue Material3DS::specular
protected

Definition at line 128 of file M3DS.cpp.

TextureMap Material3DS::texMap1
protected

Definition at line 120 of file M3DS.cpp.

TextureMap Material3DS::texMap2
protected

Definition at line 121 of file M3DS.cpp.

float Material3DS::transparency
protected

Definition at line 130 of file M3DS.cpp.


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