Esempio n. 1
0
 public void ppOptionsEnableHDRDebugonAction(coGuiCheckBoxCtrl thisobj)
 {
     if (thisobj.getValue().AsBool())
     {
         ((coPostEffect)"LuminanceVisPostFX").enable();
     }
     else
     {
         ((coPostEffect)"LuminanceVisPostFX").disable();
     }
 }
Esempio n. 2
0
        public void ppOptionsEnableonAction(string thisobj)
        {
            coGuiCheckBoxCtrl ppOptionsEnable = "ppOptionsEnable";

            PostFXManagersettingsSetEnabled(thisobj, ppOptionsEnable.getValue().AsBool() ? true.AsString() : false.AsString());
        }
Esempio n. 3
0
 public void ppOptionsDOFEnableDOFonAction(coGuiCheckBoxCtrl thisobj)
 {
     sGlobal["$PostFXManager::PostFX::EnableDOF"] = thisobj.getValue();
     ppOptionsUpdateDOFSettings();
 }
Esempio n. 4
0
 public void ppOptionsDOFEnableAutoFocusonAction(coGuiCheckBoxCtrl thisobj)
 {
     sGlobal["$DOFPostFx::EnableAutoFocus"] = thisobj.getValue();
     DOFPostEffectsetAutoFocus("DOFPostEffect", thisobj.getValue().AsBool());
 }
Esempio n. 5
0
 public void ppOptionsHDREffectsBlueShiftonAction(coGuiCheckBoxCtrl thisobj)
 {
     sGlobal["$HDRPostFX::enableBlueShift"] = thisobj.getValue();
 }