K3dLight Class Reference

#include <K3dLight.h>

Inheritance diagram for K3dLight:

K3dMngGeometry K3dMngSystem K3dScene List of all members.

Public Member Functions

 K3dLight ()
 ~K3dLight ()
void InitLight ()
void Reset ()
void Destroy ()
void DrawLight ()

Public Attributes

float m_afPosition [4]
float m_afDirection [3]

Private Attributes

float m_afAmbient [4]
float m_afDiffuse [4]
float m_afSpecular [4]
float m_fShininess
float m_afEmission [4]
float m_fLinearAttenuation
int m_iSpotExponent
int m_iSpotCutoff

Detailed Description

Definition at line 40 of file K3dLight.h.


Constructor & Destructor Documentation

K3dLight::K3dLight (  ) 

Definition at line 37 of file K3dLight.cpp.

References Reset().

K3dLight::~K3dLight (  ) 

Definition at line 42 of file K3dLight.cpp.

References Destroy().


Member Function Documentation

void K3dLight::InitLight (  ) 

Definition at line 47 of file K3dLight.cpp.

References m_afAmbient, m_afDiffuse, m_afDirection, m_afEmission, m_afPosition, m_afSpecular, m_fLinearAttenuation, m_fShininess, m_iSpotCutoff, and m_iSpotExponent.

Referenced by K3dMngGeometry::InitMngGeometry().

void K3dLight::Reset (  ) 

Definition at line 80 of file K3dLight.cpp.

References m_afAmbient, m_afDiffuse, m_afDirection, m_afEmission, m_afPosition, m_afSpecular, m_fLinearAttenuation, m_fShininess, m_iSpotCutoff, and m_iSpotExponent.

Referenced by Destroy(), and K3dLight().

void K3dLight::Destroy (  ) 

Definition at line 101 of file K3dLight.cpp.

References Reset().

Referenced by ~K3dLight().

void K3dLight::DrawLight (  ) 

Definition at line 106 of file K3dLight.cpp.

References m_afAmbient, m_afDiffuse, m_afDirection, m_afPosition, m_afSpecular, m_fLinearAttenuation, m_iSpotCutoff, and m_iSpotExponent.

Referenced by K3dMngGeometry::DrawMngGeometry().


Member Data Documentation

float K3dLight::m_afAmbient[4] [private]

Definition at line 43 of file K3dLight.h.

Referenced by DrawLight(), InitLight(), and Reset().

float K3dLight::m_afDiffuse[4] [private]

Definition at line 44 of file K3dLight.h.

Referenced by DrawLight(), InitLight(), and Reset().

float K3dLight::m_afSpecular[4] [private]

Definition at line 45 of file K3dLight.h.

Referenced by DrawLight(), InitLight(), and Reset().

float K3dLight::m_fShininess [private]

Definition at line 46 of file K3dLight.h.

Referenced by InitLight(), and Reset().

float K3dLight::m_afEmission[4] [private]

Definition at line 49 of file K3dLight.h.

Referenced by InitLight(), and Reset().

float K3dLight::m_fLinearAttenuation [private]

Definition at line 50 of file K3dLight.h.

Referenced by DrawLight(), InitLight(), and Reset().

int K3dLight::m_iSpotExponent [private]

Definition at line 51 of file K3dLight.h.

Referenced by DrawLight(), InitLight(), and Reset().

int K3dLight::m_iSpotCutoff [private]

Definition at line 52 of file K3dLight.h.

Referenced by DrawLight(), InitLight(), and Reset().

float K3dLight::m_afPosition[4]

Definition at line 58 of file K3dLight.h.

Referenced by DrawLight(), InitLight(), and Reset().

float K3dLight::m_afDirection[3]

Definition at line 59 of file K3dLight.h.

Referenced by DrawLight(), InitLight(), and Reset().


The documentation for this class was generated from the following files:
Generated on Thu Aug 16 23:53:32 2007 for K3dEngine by  doxygen 1.5.0