示例#1
0
 private void StereoModeChoiceAction(ChoiceItem selected)
 {
     if (stereoModes.ContainsKey(selected.Label))
     {
         CurrentStereoMode = stereoModes[selected.Label];
     }
 }
示例#2
0
 private void AddStereoModes()
 {
     stereoModes["Mono"] = new StereoMode(null);
     stereoModes["R/C"]  = new StereoMode(renderer.Programs["Anachrome"]);
     stereoModes["G/M"]  = new StereoMode(renderer.Programs["Triochrome"]);
     stereoModes["B/A"]  = new StereoMode(renderer.Programs["ColorCode"]);
     stereoModes["Mix"]  = new StereoMode(renderer.Programs["Blend"]);
 }