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

            PostFXManagersettingsSetEnabled(thisobj, ppOptionsEnable.getValue().AsBool() ? true.AsString() : false.AsString());
        }
Example #3
0
 public void ppOptionsDOFEnableAutoFocusonAction(coGuiCheckBoxCtrl thisobj)
 {
     sGlobal["$DOFPostFx::EnableAutoFocus"] = thisobj.getValue();
     DOFPostEffectsetAutoFocus("DOFPostEffect", thisobj.getValue().AsBool());
 }
Example #4
0
 public void ppOptionsDOFEnableDOFonAction(coGuiCheckBoxCtrl thisobj)
 {
     sGlobal["$PostFXManager::PostFX::EnableDOF"] = thisobj.getValue();
     ppOptionsUpdateDOFSettings();
 }
Example #5
0
 public void ppOptionsHDREffectsBlueShiftonAction(coGuiCheckBoxCtrl thisobj)
 {
     sGlobal["$HDRPostFX::enableBlueShift"] = thisobj.getValue();
 }
Example #6
0
 public void ppOptionsHDRToneMappingonAction(coGuiCheckBoxCtrl thisobj)
 {
 }
Example #7
0
 public void ppOptionsHDRBloomonAction(coGuiCheckBoxCtrl thisobj)
 {
     sGlobal["$HDRPostFX::enableBloom"] = thisobj["value"];
     thisobj["toolTip"] = "Value : " + thisobj["value"];
 }