|
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>
Inheritance diagram for oe::scene::NodeComponent:
Collaboration diagram for oe::scene::NodeComponent: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. | |
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. | |
Additional Inherited Members | |
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. | |
Protected Member Functions inherited from oe::component::EntityComponent< Node > | |
| EntityComponent (Node &entity) | |
Protected Attributes inherited from oe::component::EntityComponent< Node > | |
| Node & | _entity |
Parent class of components that can be bound to a Node.
|
inline |
Constructor.
| entity | Node bound to this component |