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

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