The aspect class responsible for connecting the volume control UI in the scene with Ur's sound player.
More...
#include <ur_ui_volume_control.hpp>
|
|
std::shared_ptr< BaseSimObjectAspect > | clone () const override |
|
|
static std::string | getSimObjectAspectTypeName () |
|
static std::shared_ptr< ToyMaker::BaseSimObjectAspect > | create (const nlohmann::json &jsonAspectProperties) |
|
|
void | onButtonClicked (const std::string &button) |
|
void | onButtonHoveredOver (const std::string &button) |
|
void | updateControls () |
|
void | onActivated () override |
|
|
std::string | mPathVolumeUp { "" } |
|
std::string | mPathVolumeDown { "" } |
|
std::string | mPathVolume { "" } |
The aspect class responsible for connecting the volume control UI in the scene with Ur's sound player.
◆ mObserveButtonClicked
| ToyMaker::SignalObserver<const std::string&> UrUIVolumeControl::mObserveButtonClicked |
Initial value:{
*this, "ButtonClickedObserved",
[this](const std::string& button) { this->onButtonClicked(button); }
}
◆ mObserveButtonHoveredOver
| ToyMaker::SignalObserver<const std::string&> UrUIVolumeControl::mObserveButtonHoveredOver |
Initial value:{
*this, "ButtonHoveredOverObserved",
[this](const std::string& button) { this->onButtonHoveredOver(button); }
}
The documentation for this class was generated from the following files: