tec::SpotLight
#include <lights.hpp>
Inherits from tec::DirectionalLight, tec::BaseLight
Public Functions
| Name | |
|---|---|
| SpotLight() =default |
Public Attributes
| Name | |
|---|---|
| float | cutoff |
Additional inherited members
Public Functions inherited from tec::DirectionalLight
| Name | |
|---|---|
| DirectionalLight() =default | |
| void | Out(proto::Component * target) |
| void | In(const proto::Component & source) |
Public Attributes inherited from tec::DirectionalLight
| Name | |
|---|---|
| glm::vec3 | direction |
Public Functions inherited from tec::BaseLight
| Name | |
|---|---|
| BaseLight() =default |
Public Attributes inherited from tec::BaseLight
| Name | |
|---|---|
| glm::vec3 | color |
| float | ambient_intensity |
| float | diffuse_intensity |
Public Functions Documentation
function SpotLight
SpotLight() =default
Public Attributes Documentation
variable cutoff
float cutoff {0.f};
Updated on 2022-07-24 at 19:27:35 +0000