/// <summary> /// Write a Hypar model to glTF. /// </summary> /// <param name="filePath">The path to write the JSON file.</param> /// <param name="model">The Hypar Model to write.</param> public static void WriteGlb(string filePath, Elements.Model model) { try { model.ToGlTF(filePath); } catch (Exception ex) { throw new Exception(ex.Message); } }