Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
ppermenueffects.c
Go to the documentation of this file.
1 class PPERequester_MenuEffects extends PPERequester_MenuBase
2 {
3  void SetBlurIntensity(float gauss)
4  {
5  SetTargetValueFloat(PostProcessEffectType.GaussFilter,PPEGaussFilter.PARAM_INTENSITY,true,gauss,PPEGaussFilter.L_0_MENU,PPOperators.SET);
6  }
7 
8  void SetVignetteIntensity(float vignette)
9  {
10  SetTargetValueFloat(PostProcessEffectType.Glow,PPEGlow.PARAM_VIGNETTE,false,vignette,PPEGlow.L_25_MENU,PPOperators.SET);
11  SetTargetValueColor(PostProcessEffectType.Glow,PPEGlow.PARAM_VIGNETTECOLOR,{0.0,0.0,0.0,0.0},PPEGlow.L_26_MENU,PPOperators.OVERRIDE);
12  }
13 }
PostProcessEffectType
PostProcessEffectType
Post-process effect type.
Definition: enworld.c:71
SetTargetValueColor
protected void SetTargetValueColor(int mat_id, int param_idx, ref array< float > val, int priority_layer, int operator=PPOperators.ADD_RELATIVE)
Definition: pperequestplatformsbase.c:195
PPERequester_MenuBase
Definition: ppercontrollerdisconnectblur.c:1
PPEGaussFilter
GaussFilter - PostProcessEffectType.GaussFilter.
Definition: ppegaussfilter.c:2
PPEGlow
Glow - PostProcessEffectType.Glow.
Definition: ppeglow.c:7
SetTargetValueFloat
protected void SetTargetValueFloat(int mat_id, int param_idx, bool relative, float val, int priority_layer, int operator=PPOperators.ADD_RELATIVE)
Definition: pperequestplatformsbase.c:153
PPOperators
PPOperators
PP operators, specify operation between subsequent layers.
Definition: ppeconstants.c:51