tec::PointLight
#include <lights.hpp>
Inherits from tec::BaseLight
Public Functions
| Name | |
|---|---|
| PointLight() =default | |
| void | Out(proto::Component * target) |
| void | In(const proto::Component & source) |
| float | UpdateBoundingRadius() |
Public Attributes
| Name | |
|---|---|
| float | constant |
| float | linear |
| float | exponential |
| struct tec::PointLight::@2 | Attenuation |
| float | bounding_radius |
Additional inherited members
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 PointLight
PointLight() =default
function Out
inline void Out(
proto::Component * target
)
function In
inline void In(
const proto::Component & source
)
function UpdateBoundingRadius
inline float UpdateBoundingRadius()
Public Attributes Documentation
variable constant
float constant {0.f};
variable linear
float linear {0.f};
variable exponential
float exponential {0.3f};
variable Attenuation
struct tec::PointLight::@2 Attenuation;
variable bounding_radius
float bounding_radius {0.f};
Updated on 2022-07-24 at 19:27:35 +0000