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

Parent class of components that can be bound to a Node. More...

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

Inheritance diagram for oe::scene::NodeComponent:
[legend]
Collaboration diagram for oe::scene::NodeComponent:
[legend]

Public Member Functions

 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.
 

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
 

Detailed Description

Parent class of components that can be bound to a Node.

Constructor & Destructor Documentation

◆ NodeComponent()

oe::scene::NodeComponent::NodeComponent ( Node entity)
inline

Constructor.

Parameters
entityNode bound to this component

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