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 (  ) 

Cosntructor

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

Destructor


Member Function Documentation

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

Returns the cutoff

Returns:
the cutoff

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

Returns the current direction

Parameters:
currentDirection the current direction

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

Returns the exponent

Returns:
the exponent

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

Sets the new cutoff of the spotlight

Parameters:
newCutoff the new cutoff

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

Sets the new direction of the spotlight.

Parameters:
newDirection the new direction

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

Sets the new exponent of the spotlight.

Parameters:
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.

Parameters:
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