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

Method setProperty

UnitTests/UnitTest_GraphView/LoopController.h:73–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71 }
72
73 void setProperty(std::string_view _key, std::string_view _value) override
74 {
75 if (_key == "LengthByState")
76 {
77 mState = getGraph()->getNodeByName(_value);
78 }
79 else if (_key == "Length")
80 {
81 mLength = MyGUI::utility::parseValue<float>(_value);
82 }
83 }
84
85 private:
86 void start()

Callers

nothing calls this directly

Calls 1

getNodeByNameMethod · 0.45

Tested by

no test coverage detected