public StandardMaterial(string jsonSt, string proteinJsonSt) { try { _json = JSON.Parse(jsonSt); if (proteinJsonSt != null && proteinJsonSt != "") { _proteinJson = new ProteinMaterial(proteinJsonSt); } else { _proteinJson = null; } } catch (System.Exception /*e*/) { } }
public StandardMaterial(JSONNode json, JSONNode proteinJson) { _json = json; _proteinJson = new ProteinMaterial(proteinJson); }