Robotran C Documentation
Public Member Functions | Public Attributes | List of all members
ShaderLight Class Reference

shader light class More...

#include <OglShapeRenderer.hh>

Public Member Functions

 ShaderLight ()
 
void Clear ()
 clear the current light shader More...
 

Public Attributes

glm::vec4 pos
 light position More...
 
glm::vec3 color
 light color More...
 
glm::vec3 attenuation
 attenuation More...
 
float ambientCoef
 ambient coefficient More...
 
float coneCosAngle
 cone opening angle More...
 
glm::vec3 coneDir
 cone direction More...
 
float shadowBias
 shadow bias More...
 
MbsLight * light
 pointer to the related 'MbsLight' component More...
 

Detailed Description

shader light class

Constructor & Destructor Documentation

◆ ShaderLight()

ShaderLight ( )
inline

Member Function Documentation

◆ Clear()

void Clear ( )
inline

clear the current light shader

Member Data Documentation

◆ ambientCoef

float ambientCoef

ambient coefficient

◆ attenuation

glm::vec3 attenuation

attenuation

◆ color

glm::vec3 color

light color

◆ coneCosAngle

float coneCosAngle

cone opening angle

◆ coneDir

glm::vec3 coneDir

cone direction

◆ light

MbsLight* light

pointer to the related 'MbsLight' component

◆ pos

glm::vec4 pos

light position

◆ shadowBias

float shadowBias

shadow bias


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