Esempio n. 1
0
 public TextureExtractor(GltfParser parser, UnityPath textureDirectory, UnityEngine.Texture2D[] subAssets)
 {
     m_parser           = parser;
     m_textureDirectory = textureDirectory;
     m_textureDirectory.EnsureFolder();
     m_subAssets = subAssets;
 }
Esempio n. 2
0
 public TextureExtractor(GltfData data, UnityPath textureDirectory, IReadOnlyDictionary <SubAssetKey, Texture> subAssets)
 {
     m_data             = data;
     m_textureDirectory = textureDirectory;
     m_textureDirectory.EnsureFolder();
     m_subAssets = subAssets;
 }