Beispiel #1
0
        /// <summary>
        /// Reads a binary FBX file
        /// </summary>
        /// <param name="stream"></param>
        /// <returns>The top level document node</returns>
        public static FbxDocument ReadBinary(Stream stream, ErrorLevel errorLevel = ErrorLevel.Checked)
        {
            if (stream == null)
            {
                throw new ArgumentNullException(nameof(stream));
            }
            var reader = new FbxBinaryReader(stream, errorLevel);

            return(reader.Read());
        }