Oxygen Engine
Modern C++ 3D Engine using OpenGL
|
Point light component. More...
#include <OxygenEngine/scene/component/lighting.h>
Public Member Functions | |
PointLight (oe::scene::Node &) | |
![]() | |
NodeComponent (Node &entity) | |
Constructor. | |
Node & | getNode () const noexcept |
Get node bound to this component. | |
Manager & | getSceneManager () const noexcept |
Get scene manager of the node bound to this component. | |
![]() | |
const std::string & | getName () const |
![]() | |
virtual void | onUpdate (const double, const int8_t=0) |
Run actions on entity update. | |
Public Attributes | |
glm::vec3 | color = glm::vec3(1.0) |
![]() | |
bool | is_active = true |
Toggle to check if the Component is active, actual meaning heavily depends of the component type. | |
Additional Inherited Members | |
![]() | |
EntityComponent (Node &entity) | |
![]() | |
Node & | _entity |
Point light component.
Attach a point light component on a node
glm::vec3 oe::component::PointLight::color = glm::vec3(1.0) |
Light color