|
sculpto
|
#include <spot_light_component.h>
Public Member Functions | |
| float | GetInnerCutoff () const |
| float | GetOuterCutoff () const |
| void | SetInnerCutoff (degrees Angle) |
| void | SetOuterCutoff (degrees Angle) |
| spot_light_component ()=default | |
| spot_light_component (const spot_light_component &Other)=default | |
| spot_light_component (const vec3 &Color, degrees InnerCutoffAngle, degrees OuterCutoffAngle) | |
| ~spot_light_component ()=default | |
Public Attributes | |
| float | InnerCutoffCos {} |
| float | OuterCutoffCos {} |
| float | Epsilon {} |
| vec3 | Color {} |
| float | Strength { 1 } |
Spot light component class. Transform component sets position of light cone.
Definition at line 16 of file spot_light_component.h.
|
default |
|
default |
|
inline |
Definition at line 46 of file spot_light_component.h.
|
default |
|
inline |
Spot light component data getter/setter functions.
Light iner cutoff angle getter functions.
Definition at line 34 of file spot_light_component.h.
|
inline |
Light outer cutoff angle getter functions.
Definition at line 36 of file spot_light_component.h.
|
inline |
Light inner cutoff angle setter functions.
Definition at line 39 of file spot_light_component.h.
|
inline |
Light outer cutoff angle setter functions.
Definition at line 41 of file spot_light_component.h.
| vec3 scl::spot_light_component::Color {} |
Light color.
Definition at line 29 of file spot_light_component.h.
| float scl::spot_light_component::Epsilon {} |
Definition at line 26 of file spot_light_component.h.
| float scl::spot_light_component::InnerCutoffCos {} |
Definition at line 24 of file spot_light_component.h.
| float scl::spot_light_component::OuterCutoffCos {} |
Definition at line 25 of file spot_light_component.h.
| float scl::spot_light_component::Strength { 1 } |
Definition at line 30 of file spot_light_component.h.