83     unsigned int m_shadowQuality;
 
  116         m_shadowQuality = shadowQuality;
 
  166     inline void setRadius(
float radius) { m_radius = radius; }
 
  212         m_spotAngle = CLAMP(angle, 0.0f, 180.0f);
 
  221         m_spotExponent = CLAMP(exponent, 0.0f, 1.0f);
 
  237     virtual void updateVisibility(
OCamera *camera);
 
float getSpotAngle(void)
Returns the spot angle. 
Definition: OLight.h:228
 
void setRadius(float radius)
Changes the light radius in which the OLight object takes effect. 
Definition: OLight.h:166
 
void setSpotExponent(float exponent)
Changes the exponent value. 
Definition: OLight.h:219
 
float getRadius(void)
Returns the light radius. 
Definition: OLight.h:172
 
void setColor(const Vector3 &color)
Changes the light color. 
Definition: OLight.h:184
 
void castShadow(bool shadow)
Change if the light should cast shadows. 
Definition: OLight.h:106
 
float getIntensity(void)
Returns the light intensity. 
Definition: OLight.h:190
 
Vector3 getFinalColor(void) const 
Returns the light color how it appears with the chosen intensity. 
Definition: OLight.h:202
 
float getShadowBlur(void)
Returns the shadow blur. 
Definition: OLight.h:160
 
unsigned int getShadowQuality(void)
Returns the shadow quality of the OLight. 
Definition: OLight.h:146
 
void setShadowBlur(float shadowBlur)
Changes the shadow blur factor.. 
Definition: OLight.h:133
 
void setShadowBias(float shadowBias)
Changes the shadow bias. 
Definition: OLight.h:127
 
Definition: NeoEngine.h:47
 
void setSpotAngle(float angle)
Changes the spot angle. 
Definition: OLight.h:210
 
float getShadowBias(void)
Returns the shadow bias. 
Definition: OLight.h:153
 
The Object3d class represents a general object in a 3D scene. 
Definition: Object3d.h:43
 
Represents a 3D light in the scene. 
Definition: OLight.h:52
 
float getSpotExponent(void)
Returns the spot exponent. 
Definition: OLight.h:234
 
bool isCastingShadow(void)
Checks if the OLight is casting shadows. 
Definition: OLight.h:139
 
Vector3 getColor(void) const 
Returns the light color. 
Definition: OLight.h:196
 
LIGHT_TYPES getLightType(void)
Returns the light type. 
Definition: OLight.h:100
 
void setShadowQuality(unsigned int shadowQuality)
Changes the shadow quality. 
Definition: OLight.h:114
 
void setLightType(LIGHT_TYPES lightType)
Changes the light type the OLight has. 
Definition: OLight.h:94
 
virtual int getType(void)
Returns the type of the object. 
Definition: OLight.h:88
 
void setIntensity(float intensity)
Changes the light intensity. 
Definition: OLight.h:178
 
LIGHT_TYPES
Definition: OLight.h:34