Exemplo n.º 1
0
        public MBOgreManifest LoadBrfFile(MBOgreBrf mbBrfFile)
        {
            MBOgreManifest manifest = new MBOgreManifest();

            if (mbBrfFile == null)
            {
                return(null);
            }
            return(manifest);
        }
Exemplo n.º 2
0
        public MBOgreManifest LoadBrfFile(MBOgreBrf mbBrfFile)
        {
            MBOgreManifest manifest = new MBOgreManifest();

            if (mbBrfFile == null)
            {
                return(null);
            }
            if (brfes.ContainsKey(mbBrfFile.FileName))
            {
                return(brfes[mbBrfFile.FileName]);
            }
            manifest.MaterialNames = (from mbBrfMaterial in mbBrfFile.Brf.Materials
                                      select mbBrfMaterial.name).ToList();
            manifest.MeshNames = (from mbBrfMesh in mbBrfFile.Brf.Meshes
                                  select mbBrfMesh.Name).ToList();
            manifest.TextureNames = (from mbBrfTexture in mbBrfFile.Brf.Textures
                                     select mbBrfTexture.name).ToList();
            brfes.Add(mbBrfFile.FileName, manifest);
            return(manifest);
        }