![]() |
RigsofRods
Soft-body Physics Simulation
|
#include <OverlayWrapper.h>
Public Member Functions | |
~AeroSwitchWidget () | |
void | Setup (std::string const &elem_name, std::string const &mat_on, std::string const &mat_off) |
void | SetActive (bool value) |
bool | UpdateMouseHover () override |
Ogre::OverlayElement * | GetHoveredElement () const override |
![]() | |
virtual | ~AeroInteractiveWidget ()=default |
Data Fields | |
Ogre::OverlayElement * | element |
Ogre::MaterialPtr | on_material |
Ogre::MaterialPtr | off_material |
Definition at line 60 of file OverlayWrapper.h.
AeroSwitchWidget::~AeroSwitchWidget | ( | ) |
Definition at line 1129 of file OverlayWrapper.cpp.
|
overridevirtual |
Implements RoR::AeroInteractiveWidget.
Definition at line 1154 of file OverlayWrapper.cpp.
void AeroSwitchWidget::SetActive | ( | bool | value | ) |
Definition at line 1116 of file OverlayWrapper.cpp.
void AeroSwitchWidget::Setup | ( | std::string const & | elem_name, |
std::string const & | mat_on, | ||
std::string const & | mat_off | ||
) |
Definition at line 1121 of file OverlayWrapper.cpp.
|
overridevirtual |
Implements RoR::AeroInteractiveWidget.
Definition at line 1136 of file OverlayWrapper.cpp.
Ogre::OverlayElement* RoR::AeroSwitchWidget::element |
Definition at line 68 of file OverlayWrapper.h.
Ogre::MaterialPtr RoR::AeroSwitchWidget::off_material |
Definition at line 70 of file OverlayWrapper.h.
Ogre::MaterialPtr RoR::AeroSwitchWidget::on_material |
Definition at line 69 of file OverlayWrapper.h.