RigsofRods
Soft-body Physics Simulation
|
#include <GUI_DirectionArrow.h>
Public Member Functions | |
void | LoadOverlay () |
Must be called after meshes+overlays were loaded. More... | |
void | CreateArrow () |
Must be called again after OGRE scenemanager is cleared. More... | |
void | Update (RoR::GfxActor *player) |
bool | IsVisible () |
void | SetVisible (bool value) |
Only effective in main menu, simulation visibility is set in Update() More... | |
Private Attributes | |
Ogre::SceneNode * | m_node = nullptr |
Ogre::Overlay * | m_overlay = nullptr |
Ogre::TextAreaOverlayElement * | m_text = nullptr |
Ogre::TextAreaOverlayElement * | m_distance_text = nullptr |
Definition at line 36 of file GUI_DirectionArrow.h.
void GUI::DirectionArrow::CreateArrow | ( | ) |
Must be called again after OGRE scenemanager is cleared.
Definition at line 50 of file GUI_DirectionArrow.cpp.
|
inline |
Definition at line 42 of file GUI_DirectionArrow.h.
void GUI::DirectionArrow::LoadOverlay | ( | ) |
Must be called after meshes+overlays were loaded.
Definition at line 38 of file GUI_DirectionArrow.cpp.
void GUI::DirectionArrow::SetVisible | ( | bool | value | ) |
Only effective in main menu, simulation visibility is set in Update()
Definition at line 87 of file GUI_DirectionArrow.cpp.
void GUI::DirectionArrow::Update | ( | RoR::GfxActor * | player | ) |
Definition at line 66 of file GUI_DirectionArrow.cpp.
|
private |
Definition at line 49 of file GUI_DirectionArrow.h.
|
private |
Definition at line 46 of file GUI_DirectionArrow.h.
|
private |
Definition at line 47 of file GUI_DirectionArrow.h.
|
private |
Definition at line 48 of file GUI_DirectionArrow.h.