예제 #1
0
 public void ChangeEffect()
 {
     settingsIndex = (settingsIndex + 1) %
                     NonPhotoRealisticSettings.PresetSettings.Length;
     Settings = NonPhotoRealisticRendering.PresetSettings[settingsIndex];
 }
예제 #2
0
 public override void SetParameters(NonPhotoRealisticRendering NPRrender)
 {
     SetParameters();
 }
예제 #3
0
 public ToonPostProcessShader()
 {
     settingsIndex = 0;
     Settings      = NonPhotoRealisticRendering.PresetSettings[settingsIndex];
 }
예제 #4
0
 public NonPhotoRealisticRendering getSettings(int settingsIndex)
 {
     Settings = NonPhotoRealisticRendering.PresetSettings[settingsIndex];
     return(Settings);
 }