Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
LMaterial Class Reference

#include <l3ds.h>

Inheritance diagram for LMaterial:
LObject LObject

List of all members.

Public Member Functions

 LMaterial ()
virtual ~LMaterial ()
uint GetID ()
LMapGetTextureMap1 ()
LMapGetTextureMap2 ()
LMapGetOpacityMap ()
LMapGetSpecularMap ()
LMapGetBumpMap ()
LMapGetReflectionMap ()
LColor3 GetAmbientColor ()
LColor3 GetDiffuseColor ()
LColor3 GetSpecularColor ()
float GetShininess ()
float GetTransparency ()
LShading GetShadingType ()
void SetID (uint value)
void SetAmbientColor (const LColor3 &color)
void SetDiffuseColor (const LColor3 &color)
void SetSpecularColor (const LColor3 &color)
void SetShininess (float value)
void SetTransparency (float value)
void SetShadingType (LShading shading)
 LMaterial ()
virtual ~LMaterial ()
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 LObject
 LObject ()
virtual ~LObject ()
virtual const std::string & GetName ()
virtual void SetName (const std::string &value)
bool IsObject (const std::string &name)
 LObject ()
virtual ~LObject ()
virtual const char * GetName ()
virtual bool IsObject (const const char *name)

Protected Attributes

int m_id
LMap m_texMap1
LMap m_texMap2
LMap m_opacMap
LMap m_reflMap
LMap m_bumpMap
LMap m_specMap
LColor3 m_ambient
LColor3 m_diffuse
LColor3 m_specular
float m_shininess
float m_transparency
LShading m_shading
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 LObject
std::string m_name
Text name

Detailed Description

Definition at line 125 of file l3ds.h.


Constructor & Destructor Documentation

LMaterial::LMaterial ( )

Definition at line 263 of file l3ds.cpp.

LMaterial::~LMaterial ( )
virtual

Definition at line 281 of file l3ds.cpp.

LMaterial::LMaterial ( )
virtual LMaterial::~LMaterial ( )
virtual

Member Function Documentation

ColorValue LMaterial::GetAmbientColor ( )
LColor3 LMaterial::GetAmbientColor ( )

Definition at line 321 of file l3ds.cpp.

TextureMap& LMaterial::GetBumpMap ( )
LMap & LMaterial::GetBumpMap ( )

Definition at line 311 of file l3ds.cpp.

ColorValue LMaterial::GetDiffuseColor ( )
LColor3 LMaterial::GetDiffuseColor ( )

Definition at line 326 of file l3ds.cpp.

DWORD LMaterial::GetID ( )
uint LMaterial::GetID ( )

Definition at line 286 of file l3ds.cpp.

TextureMap& LMaterial::GetOpacityMap ( )
LMap & LMaterial::GetOpacityMap ( )

Definition at line 301 of file l3ds.cpp.

TextureMap& LMaterial::GetReflectionMap ( )
LMap & LMaterial::GetReflectionMap ( )

Definition at line 316 of file l3ds.cpp.

DWORD LMaterial::GetShadingType ( )
LShading LMaterial::GetShadingType ( )

Definition at line 346 of file l3ds.cpp.

float LMaterial::GetShininess ( )
float LMaterial::GetShininess ( )

Definition at line 336 of file l3ds.cpp.

ColorValue LMaterial::GetSpecularColor ( )
LColor3 LMaterial::GetSpecularColor ( )

Definition at line 331 of file l3ds.cpp.

TextureMap& LMaterial::GetSpecularMap ( )
LMap & LMaterial::GetSpecularMap ( )

Definition at line 306 of file l3ds.cpp.

TextureMap& LMaterial::GetTextureMap1 ( )
LMap & LMaterial::GetTextureMap1 ( )

Definition at line 291 of file l3ds.cpp.

TextureMap& LMaterial::GetTextureMap2 ( )
LMap & LMaterial::GetTextureMap2 ( )

Definition at line 296 of file l3ds.cpp.

float LMaterial::GetTransparency ( )
float LMaterial::GetTransparency ( )

Definition at line 341 of file l3ds.cpp.

void LMaterial::SetAmbientColor ( const ColorValue color)
void LMaterial::SetAmbientColor ( const LColor3 color)

Definition at line 356 of file l3ds.cpp.

void LMaterial::SetDiffuseColor ( const ColorValue color)
void LMaterial::SetDiffuseColor ( const LColor3 color)

Definition at line 361 of file l3ds.cpp.

void LMaterial::SetID ( DWORD  value)
void LMaterial::SetID ( uint  value)

Definition at line 351 of file l3ds.cpp.

void LMaterial::SetShadingType ( DWORD  shading)
void LMaterial::SetShadingType ( LShading  shading)

Definition at line 389 of file l3ds.cpp.

void LMaterial::SetShininess ( float  value)
void LMaterial::SetShininess ( float  value)

Definition at line 371 of file l3ds.cpp.

void LMaterial::SetSpecularColor ( const ColorValue color)
void LMaterial::SetSpecularColor ( const LColor3 color)

Definition at line 366 of file l3ds.cpp.

void LMaterial::SetTransparency ( float  value)
void LMaterial::SetTransparency ( float  value)

Definition at line 380 of file l3ds.cpp.


Member Data Documentation

ColorValue LMaterial::ambient
protected

Definition at line 117 of file M3DS.h.

TextureMap LMaterial::bumpMap
protected

Definition at line 115 of file M3DS.h.

ColorValue LMaterial::diffuse
protected

Definition at line 118 of file M3DS.h.

int LMaterial::id
protected

Definition at line 110 of file M3DS.h.

LColor3 LMaterial::m_ambient
protected

Definition at line 192 of file l3ds.h.

LMap LMaterial::m_bumpMap
protected

Definition at line 188 of file l3ds.h.

LColor3 LMaterial::m_diffuse
protected

Definition at line 194 of file l3ds.h.

int LMaterial::m_id
protected

Definition at line 178 of file l3ds.h.

LMap LMaterial::m_opacMap
protected

Definition at line 184 of file l3ds.h.

LMap LMaterial::m_reflMap
protected

Definition at line 186 of file l3ds.h.

LShading LMaterial::m_shading
protected

Definition at line 202 of file l3ds.h.

float LMaterial::m_shininess
protected

Definition at line 198 of file l3ds.h.

LMap LMaterial::m_specMap
protected

Definition at line 190 of file l3ds.h.

LColor3 LMaterial::m_specular
protected

Definition at line 196 of file l3ds.h.

LMap LMaterial::m_texMap1
protected

Definition at line 180 of file l3ds.h.

LMap LMaterial::m_texMap2
protected

Definition at line 182 of file l3ds.h.

float LMaterial::m_transparency
protected

Definition at line 200 of file l3ds.h.

TextureMap LMaterial::opacMap
protected

Definition at line 113 of file M3DS.h.

TextureMap LMaterial::refTextureMap
protected

Definition at line 114 of file M3DS.h.

DWORD LMaterial::shading
protected

Definition at line 122 of file M3DS.h.

float LMaterial::shininess
protected

Definition at line 120 of file M3DS.h.

TextureMap LMaterial::specMap
protected

Definition at line 116 of file M3DS.h.

ColorValue LMaterial::specular
protected

Definition at line 119 of file M3DS.h.

TextureMap LMaterial::texMap1
protected

Definition at line 111 of file M3DS.h.

TextureMap LMaterial::texMap2
protected

Definition at line 112 of file M3DS.h.

float LMaterial::transparency
protected

Definition at line 121 of file M3DS.h.


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