Generate Json::Value for this object
| 640 | |
| 641 | // Generate Json::Value for this object |
| 642 | Json::Value ChromaKey::JsonValue() const { |
| 643 | |
| 644 | // Create root json object |
| 645 | Json::Value root = EffectBase::JsonValue(); // get parent properties |
| 646 | root["type"] = info.class_name; |
| 647 | root["color"] = color.JsonValue(); |
| 648 | root["fuzz"] = fuzz.JsonValue(); |
| 649 | root["halo"] = halo.JsonValue(); |
| 650 | root["keymethod"] = method; |
| 651 | |
| 652 | // return JsonValue |
| 653 | return root; |
| 654 | } |
| 655 | |
| 656 | // Load JSON string into this object |
| 657 | void ChromaKey::SetJson(const std::string value) { |
nothing calls this directly
no outgoing calls
no test coverage detected