コード例 #1
0
 public void setSectionColors(string name, RecoloringData[] colors)
 {
     if (model != null)
     {
         model.setSectionColors(colors);
     }
 }
コード例 #2
0
ファイル: SSTUModularRCS.cs プロジェクト: pap1723/SSTULabs
        public void setSectionColors(string name, RecoloringData[] colors)
        {
            switch (name)
            {
            case "RCS Block":
                rcsBlockModule.setSectionColors(colors);
                break;

            case "Standoff Structure":
                standoffModule.setSectionColors(colors);
                break;
            }
        }
コード例 #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);
     }
 }
コード例 #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);
     }
 }
コード例 #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;
            }
        }
コード例 #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);
     }
 }
コード例 #7
0
 public void setSectionColors(string name, RecoloringData[] colors)
 {
     models.setSectionColors(colors);
 }