O3D_Light Class Reference

Class for creating and manipulating lights. More...

#import <O3D_Light.h>

List of all members.

Public Member Functions

(id) - initWithPosition:ambientColor:diffuseColor:usingLightNumber:
 Initialize with position, ambient and diffuse colors, and an integer that will point to the OpenGL light memory.
(int) - getLightConstant:
 Convert integer into GL_LIGHT constant values.
(void) - load
 Load the light.
(void) - moveX:Y:Z:
 Move the light by the specified amounts; probably should be moveByX...

Properties

float * ambient
 Ambient light color (4 floats).
float * diffuse
 Diffuse light color (4 floats).
int lightNumber
 OpenGL light number.
float attenuation
 Light attenuation.
O3D_Vector4 * position
 Vector representing position.
O3D_Vector4 * direction
 Vector representing light direction.


Detailed Description

Class for creating and manipulating lights.
The documentation for this class was generated from the following files:

Generated on Wed Jun 10 23:48:30 2009 for Objective 3D by  doxygen 1.5.9