ES3D::Lightf::Spotf Class Reference

#include <Lightf.h>

List of all members.

Public Member Functions

 Spotf ()
virtual ~Spotf ()
GLvoid setDirectionf (GLfloat newDirection[3])
GLvoid shineAtf (GLfloat centerx, GLfloat centery, GLfloat centerz)
GLvoid setExponentf (GLfloat newExponent)
GLvoid setCutofff (GLfloat newCutoff)
GLvoid getDirectionf (GLfloat currentDirection[3])
GLfloat getExponentf (GLvoid)
GLfloat getCutofff (GLvoid)

Detailed Description

The spot of the ligth, if enabled

Constructor & Destructor Documentation

ES3D::Lightf::Spotf::Spotf (  ) 


ES3D::Lightf::Spotf::~Spotf (  )  [virtual]


Member Function Documentation

GLfloat ES3D::Lightf::Spotf::getCutofff ( GLvoid   ) 

Returns the cutoff

the cutoff

GLvoid ES3D::Lightf::Spotf::getDirectionf ( GLfloat  currentDirection[3]  ) 

Returns the current direction

currentDirection the current direction

GLfloat ES3D::Lightf::Spotf::getExponentf ( GLvoid   ) 

Returns the exponent

the exponent

GLvoid ES3D::Lightf::Spotf::setCutofff ( GLfloat  newCutoff  ) 

Sets the new cutoff of the spotlight

newCutoff the new cutoff

GLvoid ES3D::Lightf::Spotf::setDirectionf ( GLfloat  newDirection[3]  ) 

Sets the new direction of the spotlight.

newDirection the new direction

GLvoid ES3D::Lightf::Spotf::setExponentf ( GLfloat  newExponent  ) 

Sets the new exponent of the spotlight.

newExponent the new exponent

GLvoid ES3D::Lightf::Spotf::shineAtf ( GLfloat  centerx,
GLfloat  centery,
GLfloat  centerz 

Changes direction to shine at the center from the current position. Silently ignores directional light.

centerx x coordiante of the point to shine at
centery y coordiante of the point to shine at
centerz z coordiante of the point to shine at

The documentation for this class was generated from the following files:
Generated on Sat May 10 16:30:55 2008 for ES 3D Game SDK Documentation by  doxygen 1.4.7