Oxygen Engine
Modern C++ 3D Engine using OpenGL
|
Parent class of components that can be bound to a Node. More...
#include <OxygenEngine/scene/component/node.h>
Public Member Functions | |
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. | |
Additional Inherited Members | |
![]() | |
bool | is_active = true |
Toggle to check if the Component is active, actual meaning heavily depends of the component type. | |
![]() | |
EntityComponent (Node &entity) | |
![]() | |
Node & | _entity |
Parent class of components that can be bound to a Node.
|
inline |
Constructor.
entity | Node bound to this component |