MCPcopy Create free account
hub / github.com/MyGUI/mygui / setProperty

Method setProperty

MyGUIEngine/src/MyGUI_ControllerFadeAlpha.cpp:73–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71 }
72
73 void ControllerFadeAlpha::setProperty(std::string_view _key, std::string_view _value)
74 {
75 if (_key == "Alpha")
76 setAlpha(utility::parseValue<float>(_value));
77 else if (_key == "Coef")
78 setCoef(utility::parseValue<float>(_value));
79 else if (_key == "Enabled")
80 setEnabled(utility::parseValue<bool>(_value));
81 }
82
83 void ControllerFadeAlpha::setAlpha(float _value)
84 {

Callers

nothing calls this directly

Calls 1

setAlphaFunction · 0.85

Tested by

no test coverage detected