Radium Engine
1.5.20
|
#include <Engine/Scene/SystemDisplay.hpp>
Static Public Member Functions | |
static DebugComponent * | dbgCmp () |
Access the debug component. | |
static UiComponent * | uiCmp () |
Access the UI Component. | |
Additional Inherited Members | |
Public Member Functions inherited from Ra::Engine::Scene::Entity | |
Entity (const std::string &name="") | |
Entity (const Entity &entity)=delete | |
Entity & | operator= (const Entity &)=delete |
const std::string & | getName () const |
void | rename (const std::string &name) |
void | setTransform (const Core::Transform &transform) |
void | setTransform (const Core::Matrix4 &transform) |
const Core::Transform & | getTransform () const |
const Core::Matrix4 & | getTransformAsMatrix () const |
void | swapTransformBuffers () |
Core::Utils::Observable< const Entity * > & | transformationObservers () const |
get a ref to transformation observers to add/remove an observer | |
void | addComponent (Component *component) |
Add a component to the given entity. Component ownership is transfered to the entity. | |
void | removeComponent (const std::string &name) |
Deletes a component with a given name. | |
Component * | getComponent (const std::string &name) |
Get component with a given name. | |
const Component * | getComponent (const std::string &name) const |
const std::vector< std::unique_ptr< Component > > & | getComponents () const |
uint | getNumComponents () const |
Get component belonging to a given system. | |
virtual Core::Aabb | computeAabb () |
void | invalidateAabb () |
Public Member Functions inherited from Ra::Core::Utils::IndexedObject | |
IndexedObject (Index idx=Index::Invalid()) | |
CONSTRUCTOR. | |
IndexedObject (const IndexedObject &id_obj)=default | |
void | setIndex (const Index &idx) |
const Index & | getIndex () const |
Protected Attributes inherited from Ra::Core::Utils::IndexedObject | |
Index | m_idx |
VARIABLE. | |
This entity allows to add UI and debug drawables from everywhere in the code. It should have only one component and its transform should not change.
Definition at line 53 of file SystemDisplay.hpp.
Ra::Engine::Scene::SystemEntity::SystemEntity | ( | ) |
Definition at line 7 of file SystemDisplay.cpp.
|
static |
Access the debug component.
Definition at line 24 of file SystemDisplay.cpp.
|
static |
Access the UI Component.
Definition at line 16 of file SystemDisplay.cpp.