Oxygen Engine
Modern C++ 3D Engine using OpenGL
Loading...
Searching...
No Matches
oe::component::AreaLight Class Reference

Area light component. More...

#include <OxygenEngine/scene/component/lighting.h>

Inheritance diagram for oe::component::AreaLight:
[legend]
Collaboration diagram for oe::component::AreaLight:
[legend]

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

- Public Member Functions inherited from oe::scene::NodeComponent
 NodeComponent (Node &entity)
 Constructor.
 
NodegetNode () const noexcept
 Get node bound to this component.
 
ManagergetSceneManager () 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 double, const int8_t=0)
 Run actions on entity update.
 
- Protected Member Functions inherited from oe::component::EntityComponent< Node >
 EntityComponent (Node &entity)
 
- Protected Attributes inherited from oe::component::EntityComponent< Node >
Node & _entity
 

Detailed Description

Area light component.

Attach an area light component on a node

Member Data Documentation

◆ color

glm::vec3 oe::component::AreaLight::color = glm::vec3(1.0)

Light color


The documentation for this class was generated from the following file: