Exemplo n.º 1
0
 public MaterialParameter(MaterialParameter other)
 {
     parameterName = other.parameterName;
     displayName   = other.displayName;
     repeat        = other.repeat;
     type          = other.type;
     min           = other.min;
     max           = other.max;
     min4          = other.min4;
     max4          = other.max4;
     textures      = new List <Texture>(other.textures);
 }
Exemplo n.º 2
0
 public MaterialParameter()
 {
     parameterName = "_Parameter";
     displayName   = "Parameter Value";
     repeat        = 1;
     type          = MaterialParamType.number;
     min           = 0f;
     max           = 1f;
     min4          = Vector4.zero;
     max4          = Vector4.one;
     textures      = new List <Texture>();
 }