WIP reload timing

This commit is contained in:
ousttrue
2021-06-18 21:04:40 +09:00
parent 682bde5289
commit e04ac65bf5
2 changed files with 6 additions and 0 deletions

View File

@@ -44,6 +44,9 @@ namespace UniVRM10
m_model = ModelReader.Read(result.Parser);
var externalObjectMap = m_importer.GetExternalObjectMap();
var tmp = m_importer.GetExternalObjectMap();
var generator = new Vrm10MaterialDescriptorGenerator();
var materialKeys = m_parser.GLTF.materials.Select((x, i) => generator.Get(m_parser, i).SubAssetKey);
var textureKeys = new GltfTextureDescriptorGenerator(m_parser).Get().GetEnumerable().Select(x => x.SubAssetKey);