context: // Material wrapper generated by shader translator tool
  using System;
  using System.Reflection;
  using UnityEngine;
  
  namespace Kopernicus
  {
      namespace MaterialWrapper
      {
          public class PQSProjectionSurfaceQuad : Material
          {
              // Internal property ID tracking object
              protected class Properties
              {
                  // Return the shader for this wrapper
                  private const string shaderName = "Terrain/PQS/Sphere Projection SURFACE QUAD";
                  public static Shader shader
                  {
                      get { return Shader.Find (shaderName); }
                  }
  
                  // Saturation, default = 1
                  public const string saturationKey = "_saturation";
                  public int saturationID { get; private set; }
  
                  // Contrast, default = 1
                  public const string contrastKey = "_contrast";
                  public int contrastID { get; private set; }
  
                  // Colour Unsaturation (A = Factor), default = (1,1,1,0)
                  public const string tintColorKey = "_tintColor";
                  public int tintColorID { get; private set; }
  
                  // Near Tiling, default = 1000
                  public const string texTilingKey = "_texTiling";
                  public int texTilingID { get; private set; }
  
                  // Near Blend, default = 0.5
                  public const string texPowerKey = "_texPower";
                  public int texPowerID { get; private set; }
  
                  // Far Blend, default = 0.5
                  public const string multiPowerKey = "_multiPower";
                  public int multiPowerID { get; private set; }
  
                  // NearFar Start, default = 2000
                  public const string groundTexStartKey = "_groundTexStart";
                  public int groundTexStartID { get; private set; }
  
                  // NearFar Start, default = 10000
                  public const string groundTexEndKey = "_groundTexEnd";
                  public int groundTexEndID { get; private set; }
  
                  // Steep Tiling, default = 1
                  public const string steepTilingKey = "_steepTiling";
                  public int steepTilingID { get; private set; }
  
                  // Steep Blend, default = 1
                  public const string steepPowerKey = "_steepPower";
                  public int steepPowerID { get; private set; }
  
                  // Steep Fade Start, default = 20000
                  public const string steepTexStartKey = "_steepTexStart";
                  public int steepTexStartID { get; private set; }
  
                  // Steep Fade End, default = 30000
                  public const string steepTexEndKey = "_steepTexEnd";
                  public int steepTexEndID { get; private set; }
  
                  // Deep ground, default = "white" { }
                  public const string deepTexKey = "_deepTex";
                  public int deepTexID { get; private set; }
  
                  // Deep MT, default = "white" { }
                  public const string deepMultiTexKey = "_deepMultiTex";
                  public int deepMultiTexID { get; private set; }
  
                  // Deep MT Tiling, default = 1
                  public const string deepMultiFactorKey = "_deepMultiFactor";
                  public int deepMultiFactorID { get; private set; }
  
                  // Main Texture, default = "white" { }
                  public const string mainTexKey = "_mainTex";
                  public int mainTexID { get; private set; }
  
                  // Main MT, default = "white" { }
                  public const string mainMultiTexKey = "_mainMultiTex";
                  public int mainMultiTexID { get; private set; }
  
                  // Main MT Tiling, default = 1
                  public const string mainMultiFactorKey = "_mainMultiFactor";
                  public int mainMultiFactorID { get; private set; }
  
                  // High Ground, default = "white" { }
                  public const string highTexKey = "_highTex";
                  public int highTexID { get; private set; }
  
                  // High MT, default = "white" { }
                  public const string highMultiTexKey = "_highMultiTex";
                  public int highMultiTexID { get; private set; }
  
                  // High MT Tiling, default = 1
                  public const string highMultiFactorKey = "_highMultiFactor";
                  public int highMultiFactorID { get; private set; }
  
                  // Snow, default = "white" { }
                  public const string snowTexKey = "_snowTex";
                  public int snowTexID { get; private set; }
  
                  // Snow MT, default = "white" { }
                  public const string snowMultiTexKey = "_snowMultiTex";
                  public int snowMultiTexID { get; private set; }
  
                  // Snow MT Tiling, default = 1
                  public const string snowMultiFactorKey = "_snowMultiFactor";
                  public int snowMultiFactorID { get; private set; }
  
                  // Steep Texture, default = "white" { }
                  public const string steepTexKey = "_steepTex";
                  public int steepTexID { get; private set; }
  
                  // Deep Start, default = 0
                  public const string deepStartKey = "_deepStart";
                  public int deepStartID { get; private set; }
  
                  // Deep End, default = 0.3
                  public const string deepEndKey = "_deepEnd";
                  public int deepEndID { get; private set; }
  
                  // Main lower boundary start, default = 0
                  public const string mainLoStartKey = "_mainLoStart";
                  public int mainLoStartID { get; private set; }
  
                  // Main lower boundary end, default = 0.5
                  public const string mainLoEndKey = "_mainLoEnd";
                  public int mainLoEndID { get; private set; }
  
                  // Main upper boundary start, default = 0.3
                  public const string mainHiStartKey = "_mainHiStart";
                  public int mainHiStartID { get; private set; }
  
                  // Main upper boundary end, default = 0.5
                  public const string mainHiEndKey = "_mainHiEnd";
                  public int mainHiEndID { get; private set; }
  
                  // High lower boundary start, default = 0.6
                  public const string hiLoStartKey = "_hiLoStart";
                  public int hiLoStartID { get; private set; }
  
                  // High lower boundary end, default = 0.6
                  public const string hiLoEndKey = "_hiLoEnd";
                  public int hiLoEndID { get; private set; }
  
                  // High upper boundary start, default = 0.6
                  public const string hiHiStartKey = "_hiHiStart";
                  public int hiHiStartID { get; private set; }
  
                  // High upper boundary end, default = 0.9
                  public const string hiHiEndKey = "_hiHiEnd";
                  public int hiHiEndID { get; private set; }
  
                  // Snow Start, default = 0.9
                  public const string snowStartKey = "_snowStart";
                  public int snowStartID { get; private set; }
  
                  // Snow End, default = 1
                  public const string snowEndKey = "_snowEnd";
                  public int snowEndID { get; private set; }
  
                  // PlanetOpacity, default = 1
                  public const string planetOpacityKey = "_PlanetOpacity";
                  public int planetOpacityID { get; private set; }
  
                  // Singleton instance
                  private static Properties singleton = null;
                  public static Properties Instance
                  {
                      get
                      {
                          // Construct the singleton if it does not exist
                          if(singleton == null)
                              singleton = new Properties();
              
                          return singleton;
                      }
                  }
  
                  private Properties()
                  {
                      saturationID = Shader.PropertyToID(saturationKey);
                      contrastID = Shader.PropertyToID(contrastKey);
                      tintColorID = Shader.PropertyToID(tintColorKey);
                      texTilingID = Shader.PropertyToID(texTilingKey);
                      texPowerID = Shader.PropertyToID(texPowerKey);
                      multiPowerID = Shader.PropertyToID(multiPowerKey);
                      groundTexStartID = Shader.PropertyToID(groundTexStartKey);
                      groundTexEndID = Shader.PropertyToID(groundTexEndKey);
                      steepTilingID = Shader.PropertyToID(steepTilingKey);
                      steepPowerID = Shader.PropertyToID(steepPowerKey);
                      steepTexStartID = Shader.PropertyToID(steepTexStartKey);
                      steepTexEndID = Shader.PropertyToID(steepTexEndKey);
                      deepTexID = Shader.PropertyToID(deepTexKey);
                      deepMultiTexID = Shader.PropertyToID(deepMultiTexKey);
  
gt:                     deepMultiFactorID = Shader.PropertyToID(deepMultiFactorKey);