HelixToolkit.Wpf.SharpDX.ObjReader.ReadZ C# (CSharp) Method

ReadZ() public method

Reads a GZipStream compressed OBJ file.
This is a file format used by Helix Toolkit only. Use the GZipHelper class to compress an .obj file.
public ReadZ ( string path ) : System.Collections.Generic.List
path string /// The path. ///
return System.Collections.Generic.List
        public Object3DGroup ReadZ(string path)
        {
            this.TexturePath = Path.GetDirectoryName(path);
            using (var s = new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.Read))
            {
                var deflateStream = new GZipStream(s, CompressionMode.Decompress, true);
                return this.Read(deflateStream);
            }
        }