Beispiel #1
0
        /// <summary>
        /// Returns a <see cref="TriMesh"/> object loaded from the specified OBJ file stream.
        /// </summary>
        /// <param name="stream">The stream for the OBJ to load.</param>
        /// <returns>The mesh loaded from the OBJ file stream.</returns>
        public static TriMesh FromObjStream(Stream stream)
        {
            TriMesh m = TriMeshIO.LoadObjStream(stream);

            return(m);
        }