private void AddTextureGenerationType(string mainGenerationType, string subGenerationType, ProceduralTextureGenerator.GenerationMethod _generationMethod)
    {
        if (typesList != null)
        {
            TextureGenerationType temp = new TextureGenerationType(mainGenerationType, subGenerationType, _generationMethod);

            typesList.Add(temp);
        }
    }
예제 #2
0
 public TexCoordGen(FileReader reader, BFLYT.Header header)
 {
     GenType = reader.ReadEnum <MatrixType>(false);
     Source  = reader.ReadEnum <TextureGenerationType>(false);
     if (header.VersionMajor >= 8)
     {
         unkData = reader.ReadBytes(0xE);
     }
     else
     {
         unkData = reader.ReadBytes(6);
     }
 }