#include <Light.h>
Definition at line 11 of file Light.h.
◆ Light() [1/3]
| Elevate::Light::Light |
( |
| ) |
|
|
default |
◆ Light() [2/3]
| Elevate::Light::Light |
( |
const glm::vec3 & |
color | ) |
|
|
inline |
Definition at line 19 of file Light.h.
glm::vec3 m_specularColor
◆ Light() [3/3]
| Elevate::Light::Light |
( |
const glm::vec3 & |
amb, |
|
|
const glm::vec3 & |
dif, |
|
|
const glm::vec3 & |
spec, |
|
|
float |
intensity = 1.0f |
|
) |
| |
|
inline |
◆ GetAmbientColor()
| const glm::vec3 & Elevate::Light::GetAmbientColor |
( |
| ) |
const |
|
inline |
◆ GetDiffuseColor()
| const glm::vec3 & Elevate::Light::GetDiffuseColor |
( |
| ) |
const |
|
inline |
◆ GetIntensity()
| const float & Elevate::Light::GetIntensity |
( |
| ) |
const |
|
inline |
◆ GetSpecularColor()
| const glm::vec3 & Elevate::Light::GetSpecularColor |
( |
| ) |
const |
|
inline |
◆ SetAmbientColor()
| void Elevate::Light::SetAmbientColor |
( |
const glm::vec3 & |
color | ) |
|
|
inline |
◆ SetColor()
| void Elevate::Light::SetColor |
( |
const glm::vec3 & |
color | ) |
|
|
inline |
◆ SetDiffuseColor()
| void Elevate::Light::SetDiffuseColor |
( |
const glm::vec3 & |
color | ) |
|
|
inline |
◆ SetIntensity()
| void Elevate::Light::SetIntensity |
( |
const float & |
intensity | ) |
|
|
inline |
◆ SetSpecularColor()
| void Elevate::Light::SetSpecularColor |
( |
const glm::vec3 & |
color | ) |
|
|
inline |
◆ m_ambientColor
| glm::vec3 Elevate::Light::m_ambientColor = { 1.0f, 1.0f, 1.0f } |
|
protected |
◆ m_diffuseColor
| glm::vec3 Elevate::Light::m_diffuseColor = { 1.0f, 1.0f, 1.0f } |
|
protected |
◆ m_intensity
| float Elevate::Light::m_intensity = 1.0f |
|
protected |
◆ m_specularColor
| glm::vec3 Elevate::Light::m_specularColor = { 1.0f, 1.0f, 1.0f } |
|
protected |
The documentation for this class was generated from the following file:
- ElevateEngine/src/ElevateEngine/Renderer/Light/Light.h