public void setSectionColors(string name, RecoloringData[] colors)
 {
     if (model != null)
     {
         model.setSectionColors(colors);
     }
 }
Esempio n. 2
0
        public void setSectionColors(string name, RecoloringData[] colors)
        {
            switch (name)
            {
            case "RCS Block":
                rcsBlockModule.setSectionColors(colors);
                break;

            case "Standoff Structure":
                standoffModule.setSectionColors(colors);
                break;
            }
        }
Esempio n. 3
0
 //IRecolorable override
 public void setSectionColors(string section, RecoloringData[] colors)
 {
     if (section == "Top")
     {
         topModule.setSectionColors(colors);
     }
     else if (section == "Body")
     {
         coreModule.setSectionColors(colors);
     }
     else if (section == "Bottom")
     {
         bottomModule.setSectionColors(colors);
     }
 }
Esempio n. 4
0
 public void setSectionColors(string section, RecoloringData[] colors)
 {
     if (section == "Top")
     {
         noseModule.setSectionColors(colors);
     }
     else if (section == "Body")
     {
         tankModule.setSectionColors(colors);
     }
     else if (section == "Bottom")
     {
         mountModule.setSectionColors(colors);
     }
 }
Esempio n. 5
0
        //IRecolorable override
        public void setSectionColors(string name, RecoloringData[] colors)
        {
            switch (name)
            {
            case "Decoupler":
                recolorHandler.setColorData(colors);
                updateFairingTextureSet(false);
                break;

            case "Engines":
                engineModels.setSectionColors(colors);
                break;

            default:
                break;
            }
        }
Esempio n. 6
0
 public void setSectionColors(string section, RecoloringData[] colors)
 {
     if (section == "Nose")
     {
         noseModule.setSectionColors(colors);
     }
     else if (section == "Upper")
     {
         upperModule.setSectionColors(colors);
     }
     else if (section == "Intertank")
     {
         intertankModule.setSectionColors(colors);
     }
     else if (section == "Lower")
     {
         lowerModule.setSectionColors(colors);
     }
     else if (section == "Mount")
     {
         mountModule.setSectionColors(colors);
     }
 }
Esempio n. 7
0
 public void setSectionColors(string name, RecoloringData[] colors)
 {
     models.setSectionColors(colors);
 }