|
Oxygen Engine
Modern C++ 3D Engine using OpenGL
|
Point light component. More...
#include <OxygenEngine/scene/component/lighting.h>
Inheritance diagram for oe::component::PointLight:
Collaboration diagram for oe::component::PointLight:Public Member Functions | |
| PointLight (oe::scene::Node &) | |
Public Member Functions inherited from oe::scene::NodeComponent | |
| 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. | |
Public Member Functions inherited from oe::component::EntityComponent< Node > | |
| const std::string & | getName () const |
Public Member Functions inherited from oe::component::Component | |
| virtual void | onUpdate (const std::chrono::nanoseconds, const int8_t=0) |
| Run actions on entity update. | |
Public Attributes | |
| glm::vec3 | color = glm::vec3(1.0) |
Public Attributes inherited from oe::component::Component | |
| bool | is_active = true |
| Toggle to check if the Component is active, actual meaning heavily depends of the component type. | |
Additional Inherited Members | |
Protected Member Functions inherited from oe::component::EntityComponent< Node > | |
| EntityComponent (Node &entity) | |
Protected Attributes inherited from oe::component::EntityComponent< Node > | |
| 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