AcTools.Kn5File.Kn5.FromDirectory_Header C# (CSharp) Méthode

FromDirectory_Header() private méthode

private FromDirectory_Header ( string dir ) : void
dir string
Résultat void
        private void FromDirectory_Header(string dir) {
            Header = FromHeaderJson(Path.Combine(dir, "header.json"));
        }

Usage Example

Exemple #1
0
        public static Kn5 FromDirectory(string dir, bool jsonMode) {
            if (!Directory.Exists(dir)) {
                throw new DirectoryNotFoundException(dir);
            }

            var kn5 = new Kn5(dir);
            
            kn5.FromDirectory_Header(dir);
            kn5.FromDirectory_Textures(dir);
            kn5.FromDirectory_Materials(dir);
            kn5.FromDirectory_Nodes(dir, jsonMode);

            return kn5;
        }
All Usage Examples Of AcTools.Kn5File.Kn5::FromDirectory_Header