#include <Light.hpp>
Definition at line 19 of file Light.hpp.
◆ Light() [1/3]
lug::Graphics::Builder::Light::Light |
( |
Renderer & |
renderer | ) |
|
|
explicit |
◆ Light() [2/3]
lug::Graphics::Builder::Light::Light |
( |
const Light & |
| ) |
|
|
delete |
◆ Light() [3/3]
lug::Graphics::Builder::Light::Light |
( |
Light && |
| ) |
|
|
delete |
◆ ~Light()
lug::Graphics::Builder::Light::~Light |
( |
| ) |
|
|
default |
◆ operator=() [1/2]
Light& lug::Graphics::Builder::Light::operator= |
( |
const Light & |
| ) |
|
|
delete |
◆ operator=() [2/2]
Light& lug::Graphics::Builder::Light::operator= |
( |
Light && |
| ) |
|
|
delete |
◆ setName()
void lug::Graphics::Builder::Light::setName |
( |
const std::string & |
name | ) |
|
Sets the name.
- Parameters
-
[in] | name | The name of the mesh. |
◆ setType()
◆ setColor()
void lug::Graphics::Builder::Light::setColor |
( |
const Math::Vec4f & |
color | ) |
|
◆ setDirection()
void lug::Graphics::Builder::Light::setDirection |
( |
const Math::Vec3f & |
direction | ) |
|
◆ setConstantAttenuation()
void lug::Graphics::Builder::Light::setConstantAttenuation |
( |
float |
constantAttenuation | ) |
|
◆ setDistance()
void lug::Graphics::Builder::Light::setDistance |
( |
float |
distance | ) |
|
◆ setLinearAttenuation()
void lug::Graphics::Builder::Light::setLinearAttenuation |
( |
float |
linearAttenuation | ) |
|
◆ setQuadraticAttenuation()
void lug::Graphics::Builder::Light::setQuadraticAttenuation |
( |
float |
quadraticAttenuation | ) |
|
◆ setFalloffAngle()
void lug::Graphics::Builder::Light::setFalloffAngle |
( |
float |
falloffAngle | ) |
|
◆ setFalloffExponent()
void lug::Graphics::Builder::Light::setFalloffExponent |
( |
float |
falloffExponent | ) |
|
◆ build()
◆ _renderer
Renderer& lug::Graphics::Builder::Light::_renderer |
|
protected |
◆ _name
std::string lug::Graphics::Builder::Light::_name |
|
protected |
◆ _type
◆ _color
Math::Vec4f lug::Graphics::Builder::Light::_color {0.0f, 0.0f, 0.0f, 1.0f} |
|
protected |
◆ _direction
Math::Vec3f lug::Graphics::Builder::Light::_direction {0.0f, 0.0f, 0.0f} |
|
protected |
◆ _constantAttenuation
float lug::Graphics::Builder::Light::_constantAttenuation {0.0f} |
|
protected |
◆ _distance
float lug::Graphics::Builder::Light::_distance {0.0f} |
|
protected |
◆ _linearAttenuation
float lug::Graphics::Builder::Light::_linearAttenuation {1.0f} |
|
protected |
◆ _quadraticAttenuation
float lug::Graphics::Builder::Light::_quadraticAttenuation {1.0f} |
|
protected |
◆ _falloffAngle
float lug::Graphics::Builder::Light::_falloffAngle {Math::halfPi<float>()} |
|
protected |
◆ _falloffExponent
float lug::Graphics::Builder::Light::_falloffExponent {0.0f} |
|
protected |
The documentation for this class was generated from the following files: