MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / JsonValue

Method JsonValue

src/effects/SphericalProjection.cpp:427–441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

425}
426
427Json::Value SphericalProjection::JsonValue() const
428{
429 Json::Value root = EffectBase::JsonValue();
430 root["type"] = info.class_name;
431 root["yaw"] = yaw.JsonValue();
432 root["pitch"] = pitch.JsonValue();
433 root["roll"] = roll.JsonValue();
434 root["fov"] = fov.JsonValue();
435 root["in_fov"] = in_fov.JsonValue();
436 root["projection_mode"] = projection_mode;
437 root["invert"] = invert;
438 root["input_model"] = input_model;
439 root["interpolation"] = interpolation;
440 return root;
441}
442
443void SphericalProjection::SetJson(const std::string value)
444{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected