Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXLight Struct Reference

OpenGL Light Source. More...

#include <FXGLViewer.h>

List of all members.

Public Attributes

FXVec4f ambient
FXVec4f diffuse
 Ambient light color.
FXVec4f specular
 Diffuse light color.
FXVec4f position
 Specular light color.
FXVec3f direction
 Light position.
FXfloat exponent
 Spot direction.
FXfloat cutoff
 Spotlight exponent.
FXfloat c_attn
 Spotlight cutoff angle.
FXfloat l_attn
 Constant attenuation factor.
FXfloat q_attn
 Linear attenuation factor.

Detailed Description

OpenGL Light Source.


The documentation for this struct was generated from the following file:

Copyright © 1997-2016 Jeroen van der Zijp