Classes | Variables

CC3Light.h File Reference

#import "CC3TargettingNode.h"
#import "CC3OpenGLES11Lighting.h"

Classes

class  CC3Light
 CC3Light represents the light in the 3D world. More...

Variables

static const
CC3AttenuationCoefficients 
kCC3DefaultLightAttenuationCoefficients = {1.0, 0.0, 0.0}
static const ccColor4F kCC3DefaultLightColorAmbient = { 0.0, 0.0, 0.0, 1.0 }
static const ccColor4F kCC3DefaultLightColorDiffuse = { 1.0, 1.0, 1.0, 1.0 }
static const ccColor4F kCC3DefaultLightColorSpecular = { 1.0, 1.0, 1.0, 1.0 }
static const GLfloat kCC3SpotCutoffNone = 180.0f

Detailed Description


Variable Documentation

Default light attenuation coefficients.

const ccColor4F kCC3DefaultLightColorAmbient = { 0.0, 0.0, 0.0, 1.0 } [static]

Default ambient light color.

const ccColor4F kCC3DefaultLightColorDiffuse = { 1.0, 1.0, 1.0, 1.0 } [static]

Default diffuse light color.

const ccColor4F kCC3DefaultLightColorSpecular = { 1.0, 1.0, 1.0, 1.0 } [static]

Default specular light color.

const GLfloat kCC3SpotCutoffNone = 180.0f [static]

Cosntant indicating that the light is not directional.