// ----------------------------------------------------------------------- // // Triangle.NET code by Christian Woltering, http://triangle.codeplex.com/ // // ----------------------------------------------------------------------- namespace UnityEngine.U2D.Animation.TriangleNet .IO { using System.IO; using Animation.TriangleNet.Meshing; /// /// Interface for mesh I/O. /// internal interface IMeshFormat : IFileFormat { /// /// Read a file containing a mesh. /// /// The path of the file to read. /// An instance of the interface. IMesh Import(string filename); /// /// Save a mesh to disk. /// /// An instance of the interface. /// The path of the file to save. void Write(IMesh mesh, string filename); /// /// Save a mesh to a . /// /// An instance of the interface. /// The stream to save to. void Write(IMesh mesh, Stream stream); } }