public TextureImportName(TextureImportTypes textureType, string gltfName, string ext, string uri)
 {
     GltfName      = gltfName;
     ConvertedName = TextureImportName.Convert(gltfName, textureType);
     Ext           = ext;
     Uri           = uri;
     ExtractKey    = GetExtractKey(textureType, gltfName, ConvertedName, uri);
 }
Esempio n. 2
0
 public TextureImportParam(TextureImportName name, SamplerParam sampler, TextureImportTypes textureType, float metallicFactor, float roughnessFactor,
                           GetTextureBytesAsync i0,
                           GetTextureBytesAsync i1,
                           GetTextureBytesAsync i2,
                           GetTextureBytesAsync i3,
                           GetTextureBytesAsync i4,
                           GetTextureBytesAsync i5)
 {
     Name            = name;
     Sampler         = sampler;
     TextureType     = textureType;
     MetallicFactor  = metallicFactor;
     RoughnessFactor = roughnessFactor;
     Index0          = i0;
     Index1          = i1;
     Index2          = i2;
     Index3          = i3;
     Index4          = i4;
     Index5          = i5;
 }