Ejemplo n.º 1
0
 public void setSectionColors(string name, RecoloringData[] colors)
 {
     if (model != null)
     {
         model.setSectionColors(colors);
     }
 }
Ejemplo 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;
            }
        }
Ejemplo 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);
     }
 }
Ejemplo 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);
     }
 }
Ejemplo 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;
            }
        }
Ejemplo 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);
     }
 }
Ejemplo n.º 7
0
 public void setSectionColors(string name, RecoloringData[] colors)
 {
     models.setSectionColors(colors);
 }