Blank constructor, useful when using Json to load the effect properties
| 25 | |
| 26 | /// Blank constructor, useful when using Json to load the effect properties |
| 27 | ChromaKey::ChromaKey() : fuzz(20.0), halo(10.0), method(CHROMAKEY_BASIC_SOFT) { |
| 28 | // Init default color |
| 29 | color = Color(); |
| 30 | |
| 31 | // Init effect properties |
| 32 | init_effect_details(); |
| 33 | } |
| 34 | |
| 35 | // Standard constructor, which takes an openshot::Color object, a 'fuzz' factor, |
| 36 | // an optional halo distance and an optional keying method. |