reference

This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.

#include <ofLight.h>

Public Member Functions

 Data ()
 
 ~Data ()
 

Public Attributes

ofFloatColor ambientColor
 
ofFloatColor diffuseColor
 
ofFloatColor specularColor
 
float attenuation_constant
 
float attenuation_linear
 
float attenuation_quadratic
 
ofLightType lightType
 
int glIndex
 
int isEnabled
 
float spotCutOff
 
float exponent
 
glm::vec4 position
 
glm::vec3 direction
 
float width
 
float height
 
glm::vec3 up
 
glm::vec3 right
 
std::weak_ptr< ofBaseGLRendererrendererP
 weak link back to renderer for which this light was created/setup
 

Constructor & Destructor Documentation

◆ Data()

ofLight::Data::Data ( )

◆ ~Data()

ofLight::Data::~Data ( )

Member Data Documentation

◆ ambientColor

ofFloatColor ofLight::Data::ambientColor

◆ attenuation_constant

float ofLight::Data::attenuation_constant

◆ attenuation_linear

float ofLight::Data::attenuation_linear

◆ attenuation_quadratic

float ofLight::Data::attenuation_quadratic

◆ diffuseColor

ofFloatColor ofLight::Data::diffuseColor

◆ direction

glm::vec3 ofLight::Data::direction

◆ exponent

float ofLight::Data::exponent

◆ glIndex

int ofLight::Data::glIndex

◆ height

float ofLight::Data::height

◆ isEnabled

int ofLight::Data::isEnabled

◆ lightType

ofLightType ofLight::Data::lightType

◆ position

glm::vec4 ofLight::Data::position

◆ rendererP

std::weak_ptr<ofBaseGLRenderer> ofLight::Data::rendererP

weak link back to renderer for which this light was created/setup

◆ right

glm::vec3 ofLight::Data::right

◆ specularColor

ofFloatColor ofLight::Data::specularColor

◆ spotCutOff

float ofLight::Data::spotCutOff

◆ up

glm::vec3 ofLight::Data::up

◆ width

float ofLight::Data::width

The documentation for this class was generated from the following files:
  • /Users/icq4ever/Desktop/oF0120/libs/openFrameworks/gl/ofLight.h
  • /Users/icq4ever/Desktop/oF0120/libs/openFrameworks/gl/ofLight.cpp