Load Json::Value into this object
| 154 | |
| 155 | // Load Json::Value into this object |
| 156 | void Shift::SetJsonValue(const Json::Value root) { |
| 157 | |
| 158 | // Set parent data |
| 159 | EffectBase::SetJsonValue(root); |
| 160 | |
| 161 | // Set data from Json (if key is found) |
| 162 | if (!root["x"].isNull()) |
| 163 | x.SetJsonValue(root["x"]); |
| 164 | if (!root["y"].isNull()) |
| 165 | y.SetJsonValue(root["y"]); |
| 166 | } |
| 167 | |
| 168 | // Get all properties for a specific frame |
| 169 | std::string Shift::PropertiesJSON(int64_t requested_frame) const { |
nothing calls this directly
no outgoing calls
no test coverage detected