Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes

Light Class Reference

Inheritance diagram for Light:
Component Object

List of all members.

Public Member Functions

virtual const RTTIgetType () const
 Light (const Vec4f &amb, const Vec4f &diff, const Vec4f &spec, LightManager *manager)
void setLightType (LightTypEnum type)
TransformgetTransform () const
void setTransform (Transform *trans)
void applyLightState ()

Static Public Member Functions

static Light ambientLight (const Vec4f &amb, LightManager *manager)

Static Public Attributes

static const RTTI TYPE

Protected Member Functions

GLenum intToGlLightId (int id)

Protected Attributes

Vec4f diffuse
Vec4f ambient
Vec4f specular
float coneAngle
float coneExponent
LightTypEnum lightType
GLenum glLightId
Transformtransform

The documentation for this class was generated from the following files:
 All Classes Functions Variables