public void Add(SingleMaterialPropertySetter singleMaterialPropertySetter)
 {
     if (singleMaterialPropertySetter is FloatMaterialPropertySetter floatSetter)
     {
         floatSetters.Add(floatSetter);
     }
     if (singleMaterialPropertySetter is IntMaterialPropertySetter intSetter)
     {
         intSettters.Add(intSetter);
     }
     if (singleMaterialPropertySetter is TextureMaterialPropertySetter textureSetter)
     {
         textureSetters.Add(textureSetter);
     }
     if (singleMaterialPropertySetter is VectorMaterialPropertySetter vectorSetter)
     {
         vectorSetters.Add(vectorSetter);
     }
     if (singleMaterialPropertySetter is ColorMaterialPropertySetter colorSetter)
     {
         colorSetters.Add(colorSetter);
     }
 }
 public WeightedSingleSetter(SingleMaterialPropertySetter setter, float weight)
 {
     this.setter = setter;
     this.weight = weight;
 }