File size: 556 Bytes
24b81cb
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
class PPERequester_MenuEffects extends PPERequester_MenuBase
{
	void SetBlurIntensity(float gauss)
	{
		SetTargetValueFloat(PostProcessEffectType.GaussFilter,PPEGaussFilter.PARAM_INTENSITY,true,gauss,PPEGaussFilter.L_0_MENU,PPOperators.SET);
	}
	
	void SetVignetteIntensity(float vignette)
	{
		SetTargetValueFloat(PostProcessEffectType.Glow,PPEGlow.PARAM_VIGNETTE,false,vignette,PPEGlow.L_25_MENU,PPOperators.SET);
		SetTargetValueColor(PostProcessEffectType.Glow,PPEGlow.PARAM_VIGNETTECOLOR,{0.0,0.0,0.0,0.0},PPEGlow.L_26_MENU,PPOperators.OVERRIDE);
	}
}