ES3D::Lightx::Spotx Class Reference

#include <Lightx.h>

List of all members.

Public Member Functions

 Spotx ()
virtual ~Spotx ()
GLvoid setDirectionx (FixedPointx newDirection[3])
GLvoid shineAtx (FixedPointx centerx, FixedPointx centery, FixedPointx centerz)
GLvoid setExponentx (FixedPointx newExponent)
GLvoid setCutoffx (FixedPointx newCutoff)
GLvoid getDirectionx (FixedPointx currentDirection[3])
FixedPointx getExponentx (GLvoid)
FixedPointx getCutoffx (GLvoid)

Detailed Description

The spot of the ligth, if enabled

Constructor & Destructor Documentation

ES3D::Lightx::Spotx::Spotx (  ) 


ES3D::Lightx::Spotx::~Spotx (  )  [virtual]


Member Function Documentation

FixedPointx ES3D::Lightx::Spotx::getCutoffx ( GLvoid   ) 

Returns the cutoff

the cutoff

GLvoid ES3D::Lightx::Spotx::getDirectionx ( FixedPointx  currentDirection[3]  ) 

Returns the current direction

currentDirection the current direction

FixedPointx ES3D::Lightx::Spotx::getExponentx ( GLvoid   ) 

Returns the exponent

the exponent

GLvoid ES3D::Lightx::Spotx::setCutoffx ( FixedPointx  newCutoff  ) 

Sets the new cutoff of the spotlight

newCutoff the new cutoff

GLvoid ES3D::Lightx::Spotx::setDirectionx ( FixedPointx  newDirection[3]  ) 

Sets the new direction of the spotlight.

newDirection the new direction

GLvoid ES3D::Lightx::Spotx::setExponentx ( FixedPointx  newExponent  ) 

Sets the new exponent of the spotlight.

newExponent the new exponent

GLvoid ES3D::Lightx::Spotx::shineAtx ( FixedPointx  centerx,
FixedPointx  centery,
FixedPointx  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